reordering

still has problem on a brand new k8s cluster
This commit is contained in:
Chris Lu 2020-08-02 16:52:05 -07:00
parent c53585391a
commit 9c9549c1cc
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@ func (r *SeaweedReconciler) ensureMaster(seaweedCR *seaweedv1.Seaweed) (done boo
_ = context.Background()
_ = r.Log.WithValues("seaweed", seaweedCR.Name)
if done, result, err = r.ensureMasterStatefulSet(seaweedCR); done {
if done, result, err = r.ensureMasterService(seaweedCR); done {
return done, result, err
}
if done, result, err = r.ensureMasterService(seaweedCR); done {
if done, result, err = r.ensureMasterStatefulSet(seaweedCR); done {
return done, result, err
}