remove unused code

Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
This commit is contained in:
Davanum Srinivas
2019-04-18 17:22:45 -04:00
parent 0772f852ad
commit 7b8c9acc09
77 changed files with 0 additions and 904 deletions

View File

@@ -53,16 +53,6 @@ func isSharedPIDNamespaceSupported() (bool, error) {
return version.GTE(semver.MustParse("1.26.0")), nil
}
// isDockerNoNewPrivilegesSupported returns true if Docker version is 1.11+
// (API version 1.23+), and false otherwise.
func isDockerNoNewPrivilegesSupported() (bool, error) {
version, err := getDockerAPIVersion()
if err != nil {
return false, err
}
return version.GTE(semver.MustParse("1.23.0")), nil
}
// isDockerLiveRestoreSupported returns true if live-restore is supported in
// the current Docker version.
func isDockerLiveRestoreSupported() (bool, error) {