Skip to content

Commit fcc2ef2

Browse files
committed
change error message
1 parent 6e179c0 commit fcc2ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/globalclusterconfig/resource_global_cluster_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func resourceUpdate(ctx context.Context, d *schema.ResourceData, meta any) diag.
234234
if newEntry, exists := newMap[key]; exists {
235235
// Modification detected: key exists but value differs.
236236
if !reflect.DeepEqual(oldEntry, newEntry) {
237-
return diag.FromErr(fmt.Errorf("managed namespace for collection '%s' in db '%s' cannot be modified; remove it and add a new entry instead", oldEntry["collection"], oldEntry["db"]))
237+
return diag.FromErr(fmt.Errorf("managed namespace for collection '%s' in db '%s' cannot be modified", oldEntry["collection"], oldEntry["db"]))
238238
}
239239
} else {
240240
toRemove = append(toRemove, oldEntry)

0 commit comments

Comments
 (0)