Skip to content

Commit

Permalink
PRODENG-2159 Fixed wrong setID in the createRepo function (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
cranzy authored Apr 24, 2023
1 parent 9639ffa commit 551c567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirantis/msr/connect/resource_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func resourceRepoCreate(ctx context.Context, d *schema.ResourceData, m interface
if err := d.Set("last_updated", time.Now().Format(time.RFC850)); err != nil {
return diag.FromErr(err)
}
d.SetId(fmt.Sprintf("%s/%s", orgName, repo.Name))
d.SetId(createRepoID(ctx, orgName, repo.Name))

return diag.Diagnostics{}
}
Expand Down

0 comments on commit 551c567

Please sign in to comment.