Skip to content

Commit 57f8b2a

Browse files
fix lustre instance sweeper (#14690) (#10447)
[upstream:6e585643a043818709efa5b8e292846939e26f95] Signed-off-by: Modular Magician <[email protected]>
1 parent 9bb03c5 commit 57f8b2a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

google-beta/services/lustre/resource_lustre_instance_sweeper.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ func listAndActionLustreInstance(action sweeper.ResourceAction) error {
5757
var configs []*tpgresource.ResourceDataMock
5858
t := &testing.T{}
5959
billingId := envvar.GetTestBillingAccountFromEnv(t)
60-
// Default single config
61-
intermediateValues := []map[string]string{
62-
{
63-
"region": "us-central1",
64-
},
65-
}
60+
// Build URL substitution maps individually to ensure proper formatting
61+
intermediateValues := make([]map[string]string, 1)
62+
intermediateValues[0] = map[string]string{}
63+
intermediateValues[0]["location"] = "us-central1-a"
6664

6765
// Create configs from intermediate values
6866
for _, values := range intermediateValues {

0 commit comments

Comments
 (0)