Skip to content

Commit

Permalink
fix typo bug in acl_policy resource for job_acl namespace field (#396)
Browse files Browse the repository at this point in the history
the effect of this bug is that the job_acl namespace is always
set to "default" regardless of input
  • Loading branch information
msherman13 authored Dec 1, 2023
1 parent c8663ac commit 4a19bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/resource_acl_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func parseWorkloadIdentity(workloadIdentity interface{}) (*api.JobACL, error) {
}

var namespace, jobID, group, task string
if val, ok := jobACL["namepace"].(string); ok {
if val, ok := jobACL["namespace"].(string); ok {
namespace = val
}

Expand Down

0 comments on commit 4a19bc4

Please sign in to comment.