فهرست منبع

Remove unused ExperimentalDaemon, NotS390X, NotPausable requirement checks

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 سال پیش
والد
کامیت
362f737e1c
1فایلهای تغییر یافته به همراه0 افزوده شده و 16 حذف شده
  1. 0 16
      integration-cli/requirements_test.go

+ 0 - 16
integration-cli/requirements_test.go

@@ -60,11 +60,6 @@ func OnlyDefaultNetworks() bool {
 	return true
 	return true
 }
 }
 
 
-// Deprecated: use skip.If(t, !testEnv.DaemonInfo.ExperimentalBuild)
-func ExperimentalDaemon() bool {
-	return testEnv.DaemonInfo.ExperimentalBuild
-}
-
 func IsAmd64() bool {
 func IsAmd64() bool {
 	return os.Getenv("DOCKER_ENGINE_GOARCH") == "amd64"
 	return os.Getenv("DOCKER_ENGINE_GOARCH") == "amd64"
 }
 }
@@ -81,10 +76,6 @@ func NotPpc64le() bool {
 	return ArchitectureIsNot("ppc64le")
 	return ArchitectureIsNot("ppc64le")
 }
 }
 
 
-func NotS390X() bool {
-	return ArchitectureIsNot("s390x")
-}
-
 func SameHostDaemon() bool {
 func SameHostDaemon() bool {
 	return testEnv.IsLocalDaemon()
 	return testEnv.IsLocalDaemon()
 }
 }
@@ -176,13 +167,6 @@ func IsPausable() bool {
 	return true
 	return true
 }
 }
 
 
-func NotPausable() bool {
-	if testEnv.OSType == "windows" {
-		return testEnv.DaemonInfo.Isolation == "process"
-	}
-	return false
-}
-
 func IsolationIs(expectedIsolation string) bool {
 func IsolationIs(expectedIsolation string) bool {
 	return testEnv.OSType == "windows" && string(testEnv.DaemonInfo.Isolation) == expectedIsolation
 	return testEnv.OSType == "windows" && string(testEnv.DaemonInfo.Isolation) == expectedIsolation
 }
 }