Skip to content

Commit 75c6937

Browse files
committed
[supervisor] return missing user for ssh keys
1 parent 4bc3a76 commit 75c6937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/supervisor/pkg/supervisor/services.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@ func (ss *ControlService) CreateSSHKeyPair(ctx context.Context, req *api.CreateS
811811
return &api.CreateSSHKeyPairResponse{
812812
PrivateKey: ss.privateKey,
813813
HostKey: ss.hostKey,
814+
UserName: userName,
814815
}, nil
815816
}
816817
log.WithError(err).Error("check authorized_keys failed, will recreate")

0 commit comments

Comments
 (0)