mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
replace fetching->loading and reading->parsing in UI (#124)
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
"github.com/anchore/stereoscope/pkg/file"
|
||||
"github.com/anchore/stereoscope/pkg/image"
|
||||
"github.com/anchore/syft/internal/log"
|
||||
"github.com/anchore/syft/syft/scope/resolvers"
|
||||
)
|
||||
|
||||
@@ -45,7 +44,6 @@ func NewScope(userInput string, o Option) (Scope, func(), error) {
|
||||
return s, func() {}, nil
|
||||
|
||||
case imageProtocol:
|
||||
log.Infof("Fetching image '%s'", userInput)
|
||||
img, err := stereoscope.GetImage(userInput)
|
||||
cleanup := func() {
|
||||
stereoscope.Cleanup()
|
||||
|
||||
Reference in New Issue
Block a user