Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodingenthusiast committed Jul 28, 2023
1 parent 8e381ba commit 41c1fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/structs/config_entry_jwt_provider_oss.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func (e *JWTProviderConfigEntry) validatePartitionAndNamespace() error {
return fmt.Errorf("Partitions are an enterprise only feature")
}

if !acl.IsDefaultPartition(e.PartitionOrDefault()) {
return fmt.Errorf("Namespace are an enterprise only feature")
if acl.DefaultNamespaceName != e.NamespaceOrDefault() {
return fmt.Errorf("Namespaces are an enterprise only feature")
}

return nil
Expand Down

0 comments on commit 41c1fa3

Please sign in to comment.