Skip to content

Commit

Permalink
Fixed bug detected by integration test... oops
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Jan 5, 2024
1 parent d3aa662 commit 173f8bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) erro
if err != nil {
return &cmderrors.InvalidArgumentError{Cause: err}
}
profile, err := sk.GetProfile(req.GetProfile())
p, err := sk.GetProfile(req.GetProfile())
if err != nil {
return err
}
profile = p
responseCallback(&rpc.InitResponse{
Message: &rpc.InitResponse_Profile{
Profile: &rpc.Profile{
Expand Down

0 comments on commit 173f8bc

Please sign in to comment.