summaryrefslogtreecommitdiff
path: root/daemon/daemon_unix_test.go
diff options
context:
space:
mode:
authorfate-grand-order <chenjg@harmonycloud.cn>2017-02-21 16:53:29 +0800
committerfate-grand-order <chenjg@harmonycloud.cn>2017-02-23 10:16:22 +0800
commit2a8d6368d4a930203b93f75914173ab65bf3b0bc (patch)
treeb96c9d9d2dcbea06b852f2ceeb1fb635476a1891 /daemon/daemon_unix_test.go
parent25500d56a5f3a94456bd8172a64bf119cc36dd7f (diff)
downloaddocker-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.go2
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")
}
}