mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
quick hack to make identity names more unique
This commit is contained in:
parent
bbb4fd0656
commit
2fb9e4fa9b
@ -15,7 +15,7 @@ import (
|
||||
func CreateEnvironmentIdentity(accountEmail, envDescription string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error) {
|
||||
identityType := rest_model_edge.IdentityTypeUser
|
||||
moreTags := map[string]interface{}{"zrokEmail": accountEmail}
|
||||
return CreateIdentity(envDescription, identityType, moreTags, edge)
|
||||
return CreateIdentity(accountEmail+"-"+envDescription, identityType, moreTags, edge)
|
||||
}
|
||||
|
||||
func CreateIdentity(name string, identityType rest_model_edge.IdentityType, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user