From 339e3ed468e9ecfb5840d4a11eeaf4e8b68eea19 Mon Sep 17 00:00:00 2001 From: Andrew Martinez Date: Sun, 11 Jul 2021 22:03:43 -0400 Subject: [PATCH] fix attribute type change --- CHANGELOG.md | 2 +- ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce0a2b56..54353768c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go b/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go index 388e39c15..caa732171 100644 --- a/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go +++ b/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go @@ -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)