mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
Merge pull request #71 from anchore/protocol-cleanup
cmd: replace Printf with a logging statement
This commit is contained in:
commit
1d711ee06f
@ -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