Skip to content

Commit 730ac6d

Browse files
authored
fix(tools/alloydbcreateuser): remove duplication of project praram (#2028)
## Description The project parameter was defined within an if-else statement before the other parameters were defined.
1 parent 8752e05 commit 730ac6d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/tools/alloydb/alloydbcreateuser/alloydbcreateuser.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ func (cfg Config) Initialize(srcs map[string]sources.Source) (tools.Tool, error)
8181

8282
allParameters := parameters.Parameters{
8383
projectParam,
84-
parameters.NewStringParameter("project", "The GCP project ID."),
8584
parameters.NewStringParameter("location", "The location of the cluster (e.g., 'us-central1')."),
8685
parameters.NewStringParameter("cluster", "The ID of the cluster where the user will be created."),
8786
parameters.NewStringParameter("user", "The name for the new user. Must be unique within the cluster."),

0 commit comments

Comments
 (0)