Explorar o código

Merge pull request #38182 from huangqg/fix_log

integration/network: fix log message
Kirill Kolyshkin %!s(int64=6) %!d(string=hai) anos
pai
achega
3764bd9e98
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration/network/network_test.go

+ 1 - 1
integration/network/network_test.go

@@ -55,7 +55,7 @@ func TestRunContainerWithBridgeNone(t *testing.T) {
 
 
 	result, err = container.Exec(ctx, c, id3, []string{"sh", "-c", nsCommand})
 	result, err = container.Exec(ctx, c, id3, []string{"sh", "-c", nsCommand})
 	assert.NilError(t, err)
 	assert.NilError(t, err)
-	assert.Check(t, is.Equal(stdout.String(), result.Combined()), "The network namspace of container should be the same with host when --net=host and bridge network is disabled")
+	assert.Check(t, is.Equal(stdout.String(), result.Combined()), "The network namespace of container should be the same with host when --net=host and bridge network is disabled")
 }
 }
 
 
 func TestNetworkInvalidJSON(t *testing.T) {
 func TestNetworkInvalidJSON(t *testing.T) {