Skip to content

Commit 3bb2139

Browse files
committed
Update KeyValuePairs Print() function
1 parent e461585 commit 3bb2139

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cli/cmd/cluster.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ var _infoCmd = &cobra.Command{
143143
if err := checkDockerRunning(); err != nil {
144144
exit.Error(err)
145145
}
146+
146147
awsCreds, err := getAWSCredentials(_flagClusterConfig)
147148
if err != nil {
148149
exit.Error(err)
@@ -191,6 +192,7 @@ var _infoCmd = &cobra.Command{
191192
fmt.Println("\n" + errors.Message(err, "unable to connect to operator"))
192193
return
193194
}
195+
194196
var infoResponse schema.InfoResponse
195197
err = json.Unmarshal(httpResponse, &infoResponse)
196198
if err != nil {

pkg/lib/table/key_value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (kvs KeyValuePairs) String(options ...*KeyValuePairOpts) string {
7272
}
7373

7474
func (kvs KeyValuePairs) Print(options ...*KeyValuePairOpts) {
75-
fmt.Println(kvs.String(options...))
75+
fmt.Print(kvs.String(options...))
7676
}
7777

7878
func mergeOptions(options ...*KeyValuePairOpts) KeyValuePairOpts {

0 commit comments

Comments
 (0)