Skip to content

Commit

Permalink
fix CLI processing of scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpmartinez committed Aug 21, 2024
1 parent d01cef1 commit 73a06aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ziti/cmd/edge/create_extjwtsigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func runCreateExtJwtSigner(options *createExtJwtSignerOptions) (err error) {
var cleanedScopes []string

for _, curScope := range options.ExtJwtSigner.Scopes {
if strings.TrimSpace(curScope) == "" {
if strings.TrimSpace(curScope) != "" {
cleanedScopes = append(cleanedScopes, curScope)
}
}
Expand Down

0 comments on commit 73a06aa

Please sign in to comment.