fix attribute type change

This commit is contained in:
Andrew Martinez
2021-07-11 22:03:43 -04:00
parent 82a11a8d04
commit 339e3ed468
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## What's New
* Bug fix: Management and Client API nested resources now support `limit` and `offset` outside of `filter` as query params
* Bug fix: [edge#641](https://github.com/openziti/edge/issues/641)Management and Client API nested resources now support `limit` and `offset` outside of `filter` as query params
* Feature: MFA Timeout Options
## MFA Timeout Options
@@ -499,7 +499,10 @@ func runCreatePostureCheckProcessMulti(options *createPostureCheckProcessMultiOp
Processes: processes,
Semantic: &semantic,
}
params.PostureCheck.SetRoleAttributes(options.roleAttributes)
attributes := rest_model.Attributes(options.roleAttributes)
params.PostureCheck.SetRoleAttributes(&attributes)
params.PostureCheck.SetName(&options.name)
resp, err := managementClient.PostureChecks.CreatePostureCheck(params, nil)