Skip to content

Commit 363e41c

Browse files
committed
Fixed bug detected by integration test... oops
1 parent 64e5234 commit 363e41c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: commands/instances.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) erro
142142
if err != nil {
143143
return &cmderrors.InvalidArgumentError{Cause: err}
144144
}
145-
profile, err := sk.GetProfile(req.GetProfile())
145+
p, err := sk.GetProfile(req.GetProfile())
146146
if err != nil {
147147
return err
148148
}
149+
profile = p
149150
responseCallback(&rpc.InitResponse{
150151
Message: &rpc.InitResponse_Profile{
151152
Profile: &rpc.Profile{

0 commit comments

Comments
 (0)