mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
[Backport release-1.7] Fix: removes default parameter name for terraform provider (#5516)
* removes default name for terraform provider Signed-off-by: afzalbin64 <afzal442@gmail.com> (cherry picked from commit92e7bf8263) * fixes minor typos Signed-off-by: afzalbin64 <afzal442@gmail.com> undo the changes to typo fixes minor typos in go_test files updates config_test to support name as required param (cherry picked from commit51c2650a95) --------- Co-authored-by: afzalbin64 <afzal442@gmail.com>
This commit is contained in:
co-authored by
afzalbin64
parent
f3cdbcf203
commit
fa78cb7632
@@ -23,21 +23,21 @@ var (
|
||||
// ErrNoConfigOrTarget means there is no target or config when creating the distribution.
|
||||
ErrNoConfigOrTarget = NewBcode(400, 16002, "you must specify the config name and destination to distribute")
|
||||
|
||||
// ErrConfigExist means the config is exist
|
||||
ErrConfigExist = NewBcode(400, 16003, "the config name is exist")
|
||||
// ErrConfigExist means the config does exist
|
||||
ErrConfigExist = NewBcode(400, 16003, "the config name does exist")
|
||||
|
||||
// ErrChangeTemplate the template of the config can not be change
|
||||
ErrChangeTemplate = NewBcode(400, 16004, "the template of the config can not be change")
|
||||
// ErrChangeTemplate the template of the config can not be changed
|
||||
ErrChangeTemplate = NewBcode(400, 16004, "the template of the config can not be changed")
|
||||
|
||||
// ErrTemplateNotFound means the template is not exist
|
||||
ErrTemplateNotFound = NewBcode(404, 16005, "the template is not exist")
|
||||
// ErrTemplateNotFound means the template does not exist
|
||||
ErrTemplateNotFound = NewBcode(404, 16005, "the template does not exist")
|
||||
|
||||
// ErrConfigNotFound means the config is not exist
|
||||
ErrConfigNotFound = NewBcode(404, 16006, "the config is not exist")
|
||||
// ErrConfigNotFound means the config does not exist
|
||||
ErrConfigNotFound = NewBcode(404, 16006, "the config does not exist")
|
||||
|
||||
// ErrNotFoundDistribution means the distribution is not exist
|
||||
ErrNotFoundDistribution = NewBcode(404, 16007, "the distribution is not exist")
|
||||
// ErrNotFoundDistribution means the distribution does not exist
|
||||
ErrNotFoundDistribution = NewBcode(404, 16007, "the distribution does 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")
|
||||
// ErrChangeSecretType the secret type of the config can not be changed
|
||||
ErrChangeSecretType = NewBcode(400, 16008, "the secret type of the config can not be changed")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user