Skip to content

Commit

Permalink
Fixing the wrong message in workspace switch command
Browse files Browse the repository at this point in the history
Signed-off-by: ytimocin <ytimocin@microsoft.com>
  • Loading branch information
ytimocin committed Mar 25, 2024
1 parent 5db34ab commit 0c53c31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/cmd/workspace/switch/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (r *Runner) Run(ctx context.Context) error {
}

if strings.EqualFold(section.Default, r.WorkspaceName) {
r.Output.LogInfo("Default environment is already set to %v", r.WorkspaceName)
r.Output.LogInfo("Default workspace is already set to %v", r.WorkspaceName)
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cmd/workspace/switch/switch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func Test_Run(t *testing.T) {

expected := []any{
output.LogOutput{
Format: "Default environment is already set to %v",
Format: "Default workspace is already set to %v",
Params: []any{"current-workspace"},
},
}
Expand Down

0 comments on commit 0c53c31

Please sign in to comment.