more edge control plane consolidation (#112, #129)

This commit is contained in:
Michael Quigley
2022-12-02 08:28:40 -05:00
parent 93d6f89107
commit cbf809c06a
3 changed files with 96 additions and 106 deletions

View File

@ -95,7 +95,7 @@ func (h *accessHandler) Handle(params service.AccessParams, principal *rest_mode
}
func createServicePolicyDialForEnvironment(envZId, svcToken, svcZId string, edge *rest_management_api_client.ZitiEdgeManagement, tags ...*rest_model.Tags) error {
allTags := zrokTags(svcToken)
allTags := zrokServiceTags(svcToken)
for _, t := range tags {
for k, v := range t.SubTags {
allTags.SubTags[k] = v