diff --git a/cmd/kubectl-moco/cmd/start.go b/cmd/kubectl-moco/cmd/start.go index ddbf9a81..580b41fb 100644 --- a/cmd/kubectl-moco/cmd/start.go +++ b/cmd/kubectl-moco/cmd/start.go @@ -50,7 +50,7 @@ func startClustering(ctx context.Context, name string) error { } if equality.Semantic.DeepEqual(orig, cluster) { - fmt.Fprintf(os.Stdout, "The clustering is already running.") + fmt.Fprintf(os.Stdout, "The clustering is already running.\n") return nil } @@ -89,7 +89,7 @@ func startReconciliation(ctx context.Context, name string) error { } if equality.Semantic.DeepEqual(orig, cluster) { - fmt.Fprintf(os.Stdout, "The reconciliation is already running.") + fmt.Fprintf(os.Stdout, "The reconciliation is already running.\n") return nil } diff --git a/cmd/kubectl-moco/cmd/stop.go b/cmd/kubectl-moco/cmd/stop.go index a1d2796c..a653c515 100644 --- a/cmd/kubectl-moco/cmd/stop.go +++ b/cmd/kubectl-moco/cmd/stop.go @@ -51,7 +51,7 @@ func stopClustering(ctx context.Context, name string) error { cluster.Annotations[constants.AnnClusteringStopped] = "true" if equality.Semantic.DeepEqual(orig, cluster) { - fmt.Fprintf(os.Stdout, "The clustering is already stopped.") + fmt.Fprintf(os.Stdout, "The clustering is already stopped.\n") return nil } @@ -91,7 +91,7 @@ func stopReconciliation(ctx context.Context, name string) error { cluster.Annotations[constants.AnnReconciliationStopped] = "true" if equality.Semantic.DeepEqual(orig, cluster) { - fmt.Fprintf(os.Stdout, "The reconciliation is already stopped.") + fmt.Fprintf(os.Stdout, "The reconciliation is already stopped.\n") return nil }