Commit 397bc6e9 authored by vaikas-google's avatar vaikas-google

Merge pull request #202 from shawnps/patch-5

pass err to Fatalf
parents d9af42c9 105fa8ef
...@@ -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