Skip to content

Commit

Permalink
Update internal/identity/identity.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alec Thomas <[email protected]>
  • Loading branch information
gak and alecthomas authored Oct 1, 2024
1 parent d0e9435 commit 6145c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/identity/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func Parse(s string) (Identity, error) {
}
parts := strings.Split(s, ":")

if parts[0] == "ca" {
if parts[0] == "ca" && len(parts) == 1 {
return Controller{}, nil
}

Expand Down

0 comments on commit 6145c75

Please sign in to comment.