summaryrefslogtreecommitdiff
path: root/distribution/errors.go
diff options
context:
space:
mode:
authorChristopher Jones <tophj@linux.vnet.ibm.com>2017-05-23 10:22:32 -0400
committerChristopher Jones <tophj@linux.vnet.ibm.com>2017-07-11 08:00:32 -0400
commit069fdc8a083cb1663e4f86fe3fd9b9a1aebc3e54 (patch)
tree14154f770a131119da8b66fdf9d906b50fef50df /distribution/errors.go
parent6978a6e25a2e6063f280ec842bd0f3eae99426e1 (diff)
downloaddocker-069fdc8a083cb1663e4f86fe3fd9b9a1aebc3e54.tar.gz
[project] change syscall to /x/sys/unix|windows
Changes most references of syscall to golang.org/x/sys/ Ones aren't changes include, Errno, Signal and SysProcAttr as they haven't been implemented in /x/sys/. Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com> [s390x] switch utsname from unsigned to signed per https://github.com/golang/sys/commit/33267e036fd93fcd26ea95b7bdaf2d8306cb743c char in s390x in the /x/sys/unix package is now signed, so change the buildtags Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Diffstat (limited to 'distribution/errors.go')
-rw-r--r--distribution/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/distribution/errors.go b/distribution/errors.go
index 7f97c1d5eb..f453c01cc0 100644
--- a/distribution/errors.go
+++ b/distribution/errors.go
@@ -113,7 +113,7 @@ func continueOnError(err error) bool {
case ImageConfigPullError:
return false
case error:
- return !strings.Contains(err.Error(), strings.ToLower(syscall.ENOSPC.Error()))
+ return !strings.Contains(err.Error(), strings.ToLower(syscall.ESRCH.Error()))
}
// let's be nice and fallback if the error is a completely
// unexpected one.