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
@@ -153,7 +153,7 @@ var _ = Describe("Test the rest api about the config", func() {
|
||||
Expect(config.Secret).Should(BeNil())
|
||||
Expect(config.Properties["registry"]).Should(Equal("kubevela.test.com"))
|
||||
|
||||
By("the config name is exist")
|
||||
By("the config name does exist")
|
||||
req = v1.CreateConfigRequest{
|
||||
Name: "test-registry",
|
||||
Alias: "Test Registry",
|
||||
@@ -164,7 +164,7 @@ var _ = Describe("Test the rest api about the config", func() {
|
||||
res = post("/configs", req)
|
||||
Expect(res.StatusCode).Should(Equal(400))
|
||||
|
||||
By("the template is not exist")
|
||||
By("the template does not exist")
|
||||
req = v1.CreateConfigRequest{
|
||||
Name: "test-registry2",
|
||||
Alias: "Test Registry",
|
||||
|
||||
Reference in New Issue
Block a user