summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go')
-rw-r--r--vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go b/vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go
index 0a6b2d423..dbe32af3d 100644
--- a/vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go
+++ b/vendor/github.com/opencontainers/runtime-tools/specerror/bundle.go
@@ -9,11 +9,11 @@ import (
// define error codes
const (
// ConfigInRootBundleDir represents "This REQUIRED file MUST reside in the root of the bundle directory"
- ConfigInRootBundleDir = "This REQUIRED file MUST reside in the root of the bundle directory."
+ ConfigInRootBundleDir Code = 0xa001 + iota
// ConfigConstName represents "This REQUIRED file MUST be named `config.json`."
- ConfigConstName = "This REQUIRED file MUST be named `config.json`."
+ ConfigConstName
// ArtifactsInSingleDir represents "When supplied, while these artifacts MUST all be present in a single directory on the local filesystem, that directory itself is not part of the bundle."
- ArtifactsInSingleDir = "When supplied, while these artifacts MUST all be present in a single directory on the local filesystem, that directory itself is not part of the bundle."
+ ArtifactsInSingleDir
)
var (