fix(deps): update stackit sdk modules (#727)
* fix(deps): update stackit sdk modules * fix(authorization): adjustments related to sdk version bump --------- Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com> Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
This commit is contained in:
parent
297a8a6f88
commit
3c3fcfd8ce
3 changed files with 59 additions and 59 deletions
|
|
@ -258,7 +258,7 @@ func (r *roleAssignmentResource) Delete(ctx context.Context, req resource.Delete
|
|||
payload := authorization.RemoveMembersPayload{
|
||||
ResourceType: &r.apiName,
|
||||
Members: &[]authorization.Member{
|
||||
*authorization.NewMember(model.Role.ValueStringPointer(), model.Subject.ValueStringPointer()),
|
||||
*authorization.NewMember(model.Role.ValueString(), model.Subject.ValueString()),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -353,7 +353,7 @@ func (r *roleAssignmentResource) toCreatePayload(model *Model) (*authorization.A
|
|||
return &authorization.AddMembersPayload{
|
||||
ResourceType: &r.apiName,
|
||||
Members: &[]authorization.Member{
|
||||
*authorization.NewMember(model.Role.ValueStringPointer(), model.Subject.ValueStringPointer()),
|
||||
*authorization.NewMember(model.Role.ValueString(), model.Subject.ValueString()),
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue