source: remove debug

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-18.09
Tonis Tiigi 2018-06-08 13:45:07 -07:00
parent 2dcbb12f61
commit 287b831542
1 changed files with 0 additions and 3 deletions

View File

@ -2,7 +2,6 @@ package source
import ( import (
"encoding/json" "encoding/json"
"fmt"
"strconv" "strconv"
"strings" "strings"
@ -70,7 +69,6 @@ func FromLLB(op *pb.Op_Source) (Identifier, error) {
} }
if id, ok := id.(*LocalIdentifier); ok { if id, ok := id.(*LocalIdentifier); ok {
for k, v := range op.Source.Attrs { for k, v := range op.Source.Attrs {
fmt.Printf("kv %q %q\n", k, v)
switch k { switch k {
case pb.AttrLocalSessionID: case pb.AttrLocalSessionID:
id.SessionID = v id.SessionID = v
@ -96,7 +94,6 @@ func FromLLB(op *pb.Op_Source) (Identifier, error) {
return nil, err return nil, err
} }
id.FollowPaths = paths id.FollowPaths = paths
fmt.Printf("FollowPaths %#v\n", paths)
case pb.AttrSharedKeyHint: case pb.AttrSharedKeyHint:
id.SharedKeyHint = v id.SharedKeyHint = v
} }