Skip to content

Commit

Permalink
FIx log message for application state migration
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Jul 21, 2021
1 parent 588acf5 commit ee489c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func ResourceApplicationInstanceResourceV0() *schema.Resource {
}

func ResourceApplicationInstanceStateUpgradeV0(_ context.Context, rawState map[string]interface{}, _ interface{}) (map[string]interface{}, error) {
log.Println("[DEBUG] Migrating ID from v0 to v1 format")
log.Println("[DEBUG] Migrating `group_membership_claims` from v0 to v1 format")
groupMembershipClaimsOld := rawState["group_membership_claims"].(string)
rawState["group_membership_claims"] = []string{groupMembershipClaimsOld}
return rawState, nil
Expand Down

0 comments on commit ee489c0

Please sign in to comment.