mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
cmd: replace Printf with a logging statement
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
e040fc8930
commit
74f339e043
@ -50,7 +50,7 @@ func startWorker(userInput string) <-chan error {
|
|||||||
go func() {
|
go func() {
|
||||||
defer close(errs)
|
defer close(errs)
|
||||||
protocol := imgbom.NewProtocol(userInput)
|
protocol := imgbom.NewProtocol(userInput)
|
||||||
fmt.Printf("protocol: %+v", protocol)
|
log.Debugf("protocol: %+v", protocol)
|
||||||
|
|
||||||
switch protocol.Type {
|
switch protocol.Type {
|
||||||
case imgbom.DirProtocol:
|
case imgbom.DirProtocol:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user