mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-21 08:43:35 +00:00
[Backport release-1.7] Fix: create a config with the same name reported an incorrect error (#5307)
* Fix: create a config with the same name reported an incorrect error Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com> (cherry picked from commit3c1759896b) * Fix: create a config with the same name reported an incorrect error Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com> (cherry picked from commit0aa456642b) Co-authored-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
This commit is contained in:
committed by
GitHub
parent
789aa38476
commit
500dc52b34
@@ -37,4 +37,7 @@ var (
|
||||
|
||||
// ErrNotFoundDistribution means the distribution is not exist
|
||||
ErrNotFoundDistribution = NewBcode(404, 16007, "the distribution is not exist")
|
||||
|
||||
// ErrChangeSecretType the secret type of the config can not be change
|
||||
ErrChangeSecretType = NewBcode(400, 16008, "the secret type of the config can not be change")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user