basic service reservation support (#41)

This commit is contained in:
Michael Quigley
2022-11-29 16:41:18 -05:00
parent 37be8fc4e0
commit 158cc42c07
10 changed files with 64 additions and 41 deletions

View File

@ -43,7 +43,7 @@ func edgeClient() (*rest_management_api_client.ZitiEdgeManagement, error) {
return rest_util.NewEdgeManagementClientWithUpdb(cfg.Ziti.Username, cfg.Ziti.Password, cfg.Ziti.ApiEndpoint, caPool)
}
func createServiceName() (string, error) {
func createServiceToken() (string, error) {
gen, err := nanoid.CustomASCII("abcdefghijklmnopqrstuvwxyz0123456789", 12)
if err != nil {
return "", err