Skip to content

Commit

Permalink
chore: revert accidental whitespace change
Browse files Browse the repository at this point in the history
Signed-off-by: Will Murphy <[email protected]>
  • Loading branch information
willmurphyscode committed Dec 20, 2023
1 parent fd8e0a1 commit ef8ae50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syft/source/stereoscope_image_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func NewFromStereoscopeImage(cfg StereoscopeImageConfig) (*StereoscopeImageSourc
if cfg.Platform != nil {
opts = append(opts, stereoscope.WithPlatform(cfg.Platform.String()))
}

img, err := stereoscope.GetImageFromSource(ctx, cfg.Reference, cfg.From, opts...)
if err != nil {
return nil, fmt.Errorf("unable to load image: %w", err)
Expand Down

0 comments on commit ef8ae50

Please sign in to comment.