Skip to content

Commit 2966fd7

Browse files
committed
fixed template formating
1 parent aac2ab6 commit 2966fd7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mmv1/templates/terraform/custom_flatten/memorystore_instance_desired_user_created_connections_desired_endpoints.go.tmpl

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ func flatten{{$.GetPrefix}}{{$.TitlelizeProperty}}Connections(v interface{}, d *
3232
// Do not include empty json objects coming back from the api
3333
continue
3434
}
35-
pscConnections := flatten{{$.GetPrefix}}{{$.TitlelizeProperty}}ConnectionsPscConnection(original["pscConnection"], d, config)
36-
if pscConnections == nil {
37-
continue
38-
}
39-
transformed = append(transformed, map[string]interface{}{
40-
"psc_connection": pscConnections,
41-
})
35+
pscConnections := flatten{{$.GetPrefix}}{{$.TitlelizeProperty}}ConnectionsPscConnection(original["pscConnection"], d, config)
36+
if pscConnections == nil {
37+
continue
38+
}
39+
transformed = append(transformed, map[string]interface{}{
40+
"psc_connection": pscConnections,
41+
})
4242

4343
}
4444
return transformed
@@ -100,4 +100,4 @@ func flatten{{$.GetPrefix}}{{$.TitlelizeProperty}}ConnectionsPscConnectionPscCon
100100

101101
func flatten{{$.GetPrefix}}{{$.TitlelizeProperty}}ConnectionsPscConnectionConnectionType(v interface{}, d *schema.ResourceData, config *transport_tpg.Config) interface{} {
102102
return v
103-
}
103+
}

0 commit comments

Comments
 (0)