Skip to content

Commit

Permalink
fix container pull
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Feb 12, 2024
1 parent 06e825a commit f40630d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions providers/os/connection/tar.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ func NewTarConnectionForContainer(id uint32, conf *inventory.Config, asset *inve
return "", err
}
log.Debug().Msg("tar> extracted image to temporary file")
if _, err := f.Seek(0, io.SeekStart); err != nil {
return "", err
}
asset.Connections[0].Options[FLATTENED_IMAGE] = f.Name()
return f.Name(), nil
},
Expand Down

0 comments on commit f40630d

Please sign in to comment.