diff options
author | fate-grand-order <chenjg@harmonycloud.cn> | 2017-02-21 16:53:29 +0800 |
---|---|---|
committer | fate-grand-order <chenjg@harmonycloud.cn> | 2017-02-23 10:16:22 +0800 |
commit | 2a8d6368d4a930203b93f75914173ab65bf3b0bc (patch) | |
tree | b96c9d9d2dcbea06b852f2ceeb1fb635476a1891 /daemon/daemon_unix_test.go | |
parent | 25500d56a5f3a94456bd8172a64bf119cc36dd7f (diff) | |
download | docker-2a8d6368d4a930203b93f75914173ab65bf3b0bc.tar.gz |
use t.Fatal() to output the err message where the values used for formatting
text does not appear to contain a placeholder
Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
Diffstat (limited to 'daemon/daemon_unix_test.go')
-rw-r--r-- | daemon/daemon_unix_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon_unix_test.go b/daemon/daemon_unix_test.go index ebb0a0186a..e8afe629e0 100644 --- a/daemon/daemon_unix_test.go +++ b/daemon/daemon_unix_test.go @@ -229,7 +229,7 @@ func TestNetworkOptions(t *testing.T) { } if _, err := daemon.networkOptions(dconfigWrong, nil, nil); err == nil { - t.Fatalf("Expected networkOptions error, got nil") + t.Fatal("Expected networkOptions error, got nil") } } |