Skip to content

Commit 7792d03

Browse files
committed
update
1 parent a2ee8be commit 7792d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ckecli/cmd/ssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ func getPrivateKey(nodeName string) ([]byte, error) {
6767
return nil, errors.New("no ssh private keys")
6868
}
6969
privKeys := secret.Data
70-
7170
mykey, ok := privKeys[nodeName]
72-
fmt.Println("mykey=", mykey)
71+
fmt.Println("mykey (string)=", mykey.(string))
72+
fmt.Println("mykey (bin)=", mykey)
7373
fmt.Println("ok=", ok)
7474
fmt.Printf("mykey type= %T\n", mykey)
7575

0 commit comments

Comments
 (0)