Skip to content

Commit 5829540

Browse files
ilopezlunaCopilot
andauthored
Update pkg/distribution/internal/bundle/unpack.go
Co-authored-by: Copilot <[email protected]>
1 parent ffd15fd commit 5829540

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/distribution/internal/bundle/unpack.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,6 @@ func unpackSafetensors(bundle *Bundle, mdl types.Model) error {
198198
func unpackConfigArchive(bundle *Bundle, mdl types.Model) error {
199199
archivePath, err := mdl.ConfigArchivePath()
200200
if err != nil {
201-
// Only suppress "not found" error, propagate others
202-
if os.IsNotExist(err) {
203-
return nil // no config archive
204-
}
205201
return fmt.Errorf("get config archive path: %w", err)
206202
}
207203

0 commit comments

Comments
 (0)