Skip to content

Commit

Permalink
Swap columns
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Oct 25, 2024
1 parent 9fde944 commit c61c90f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/cmd/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,11 @@ func printStore(cmd *cobra.Command, msgData *runnerv1.MonitorEnvStoreResponse_Sn
value = "******"
}

table.AddField(env.GetName())
table.AddField(env.GetDescription())
strippedVal := strings.ReplaceAll(strings.ReplaceAll(value, "\n", " "), "\r", "")

table.AddField(env.GetName())
table.AddField(strippedVal)
table.AddField(env.GetDescription())
table.AddField(env.GetSpec())
table.AddField(env.GetOrigin())

Expand Down

0 comments on commit c61c90f

Please sign in to comment.