We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a5b9c commit bde64bcCopy full SHA for bde64bc
internal/provider/tenants/model.go
@@ -34,7 +34,7 @@ func tfModelFromTenantRead(m models.TenantRead) tenantModel {
34
r.LastActionAt = types.StringValue(m.LastActionAt.String())
35
36
// Convert attributes map to JSON string
37
- if m.Attributes != nil && len(m.Attributes) > 0 {
+ if len(m.Attributes) > 0 {
38
attributesJSON, err := json.Marshal(m.Attributes)
39
if err == nil {
40
r.Attributes = types.StringValue(string(attributesJSON))
0 commit comments