Skip to content

Commit

Permalink
Merge pull request #79 from mittwald/bugfix/database-empty-set
Browse files Browse the repository at this point in the history
Initialize app databases to empty set instead of null
  • Loading branch information
martin-helmich authored Sep 11, 2024
2 parents 4ddb54f + b8339db commit 2588108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource/appresource/model_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (m *ResourceModel) FromAPIModel(ctx context.Context, appInstallation *mittw

m.Databases = databaseModels
} else {
m.Databases = types.SetNull(&databaseModelAttrType)
m.Databases, _ = types.SetValue(&databaseModelAttrType, nil)
}

if appInstallation.AppVersion.Current != nil {
Expand Down

0 comments on commit 2588108

Please sign in to comment.