Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resources: fix case of nil PodAntiAffinity
Protect from case where user provided 'affinity' entry in podSettings of smbcommonconfig but without 'podAntiAffinity' sub-entry. This in turn would cause samba-operator a nil pointer dereference. Fixes: samba-in-kubernetes#330 Signed-off-by: Shachar Sharon <ssharon@redhat.com>
- Loading branch information