Skip to content

Commit 6a1309b

Browse files
committed
commands/.../test/cluster.go: fix error capitalization
1 parent 046725f commit 6a1309b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/operator-sdk/cmd/test/cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func testClusterFunc(cmd *cobra.Command, args []string) {
5858
globalCmd := exec.Command("kubectl", "create", "-f", globalManifestPathCluster)
5959
cmdOut, err := globalCmd.CombinedOutput()
6060
if err != nil {
61-
cmdError.ExitWithError(cmdError.ExitError, fmt.Errorf("Could not create global resources: %v\nKubectl Output: %v", err, cmdOut))
61+
cmdError.ExitWithError(cmdError.ExitError, fmt.Errorf("could not create global resources: %v\nKubectl Output: %v", err, cmdOut))
6262
}
6363
}
6464
testPod := &v1.Pod{
@@ -103,7 +103,7 @@ func testClusterFunc(cmd *cobra.Command, args []string) {
103103
fmt.Printf("Test Successfully Completed")
104104
return
105105
} else if testPod.Status.Phase == v1.PodFailed {
106-
cmdError.ExitWithError(cmdError.ExitError, fmt.Errorf("Test Failed: %+v", kubeclient.CoreV1().Pods(testNamespace).GetLogs("operator-test", &v1.PodLogOptions{})))
106+
cmdError.ExitWithError(cmdError.ExitError, fmt.Errorf("test Failed: %+v", kubeclient.CoreV1().Pods(testNamespace).GetLogs("operator-test", &v1.PodLogOptions{})))
107107
}
108108
}
109109
}

0 commit comments

Comments
 (0)