parent
2dcbb12f61
commit
287b831542
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue