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,
|
||||
})
|
||||
if err != nil {
|
||||
if !strings.Contains(err.Error(), "not be found") {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user