Skip to content

Commit

Permalink
Look, its full of nulls
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 24, 2024
1 parent 613c9b5 commit 655b66c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/evaluators/identity_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ func (i *IdentityExtension) ResolveFor(identityObject map[string]any, authJSON s
if value, exists := identityObject[i.Name]; exists && !i.Overwrite {
return value, nil
}
return i.Value.ResolveFor(authJSON)
if i.Value != nil {
i.Value.ResolveFor(authJSON)
}
return "", nil
}

0 comments on commit 655b66c

Please sign in to comment.