Skip to content

Commit

Permalink
Updated dynatrace_slo metric name handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawa12 committed Aug 11, 2023
1 parent f42dbb0 commit 1c26370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynatrace/api/v2/slo/settings/slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (me *SLO) Schema() map[string]*schema.Schema {
Type: schema.TypeString,
Optional: true,
Description: "The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed.",
DiffSuppressFunc: func(k, oldValue, newValue string, d *schema.ResourceData) bool { return true },
DiffSuppressFunc: func(k, oldValue, newValue string, d *schema.ResourceData) bool { return d.Id() != "" },
},
"description": {
Type: schema.TypeString,
Expand Down

0 comments on commit 1c26370

Please sign in to comment.