Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srm09 committed Dec 13, 2023
1 parent a8dd2d9 commit 83c4e30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (m mutator) Mutate(ctx *context.WebhookRequestContext) admission.Response {
} else if mutated {
wasMutated = true
}
if SetDefaultSysprepKeys(modified) {
if modified.Spec.Bootstrap != nil && SetDefaultSysprepKeys(modified) {
wasMutated = true
}
case admissionv1.Update:
Expand Down

0 comments on commit 83c4e30

Please sign in to comment.