Merge pull request #71 from anchore/protocol-cleanup

cmd: replace Printf with a logging statement
This commit is contained in:
Alfredo Deza 2020-07-07 10:42:26 -04:00 committed by GitHub
commit 1d711ee06f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: