Raise error when adding a new zot config with an existed saved name

This commit is contained in:
Ionut Costin Craciun
2020-10-29 14:47:27 +02:00
parent 429a689ace
commit dad884ddeb
3 changed files with 30 additions and 0 deletions
+1
View File
@@ -36,4 +36,5 @@ var (
ErrIllegalConfigKey = errors.New("cli: given config key is not allowed")
ErrScanNotSupported = errors.New("search: scanning of image media type not supported")
ErrCLITimeout = errors.New("cli: Query timed out while waiting for results")
ErrDuplicateConfigName = errors.New("cli: cli config name already added")
)