Avoid NPE while dereferencing statefulset status
Avoid NPE while dereferencing statefulset status

Unlike other analogous types, the StatefulSet status has a *int64
pointer field for `ObservedGeneration`. Whatever the reason for this,
it means we need to check that it's not nil before dereferencing it.

weaveworks/flux,weaveworks/flux