diff options
Diffstat (limited to 'client/client.go')
-rw-r--r-- | client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.go b/client/client.go index 31b6cb7..43420e5 100644 --- a/client/client.go +++ b/client/client.go @@ -182,7 +182,7 @@ func RPCSign(pub ssh.PublicKey, token string, message string, conf *Config) (*ss "security": "authorization", "payload": token, }) - r, err := stub.Sign(metadata.NewContext(context.TODO(), md), req) + r, err := stub.Sign(metadata.NewOutgoingContext(context.TODO(), md), req) if err != nil { return nil, err } |