Skip to content

Commit

Permalink
Remove the validation of $type in common function.
Browse files Browse the repository at this point in the history
  • Loading branch information
metacpp committed Apr 17, 2018
1 parent dac0ca1 commit 044447f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions azurerm/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ func validateAzureRMTags(v interface{}, f string) (ws []string, es []error) {
es = append(es, fmt.Errorf("the maximum length for a tag key is 512 characters: %q is %d characters", k, len(k)))
}

if strings.EqualFold(k, "$type") {
es = append(es, fmt.Errorf("the %q is not allowed as tag name", k))
}

value, err := tagValueToString(v)
if err != nil {
es = append(es, err)
Expand Down

0 comments on commit 044447f

Please sign in to comment.