Commit 105fa8ef authored by Shawn Smith's avatar Shawn Smith

pass err to Fatalf

parent 5343c35b
...@@ -143,7 +143,7 @@ func testConversion(t *testing.T, object []byte, expected []byte) { ...@@ -143,7 +143,7 @@ func testConversion(t *testing.T, object []byte, expected []byte) {
result, err := ParseKubernetesObject(object) result, err := ParseKubernetesObject(object)
if err != nil { if err != nil {
t.Fatalf("ParseKubernetesObject failed: %v") t.Fatalf("ParseKubernetesObject failed: %v", err)
} }
// Since the object name gets created on the fly, we have to rejigger the returned object // Since the object name gets created on the fly, we have to rejigger the returned object
// slightly to make sure the DeepEqual works as expected. // slightly to make sure the DeepEqual works as expected.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment