Skip to content

Commit

Permalink
Adjust GKEHub prefix for expand (#5078)
Browse files Browse the repository at this point in the history
Co-authored-by: upodroid <[email protected]>
  • Loading branch information
upodroid authored Aug 13, 2021
1 parent 69e482a commit 02a6594
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
-%>
func expand<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d TerraformResourceData, config *Config) (interface{}, error) {
if strings.HasPrefix(v.(string), "//container.googleapis.com/") {
if strings.HasPrefix(v.(string), "//") {
return v, nil
} else {
v = "//container.googleapis.com/" + v.(string)
Expand Down

0 comments on commit 02a6594

Please sign in to comment.