Handle user not found
[ZITADOPER-1]
This commit is contained in:
@@ -73,8 +73,10 @@ func (wf *wrappedMachineUserFinalizer) Reconcile(ctx context.Context, ztdClient
|
|||||||
Id: wf.machineuser.Status.UserId,
|
Id: wf.machineuser.Status.UserId,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if !strings.Contains(err.Error(), "not be found") {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user