mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-15 17:51:03 +00:00
Removed unused code
This commit is contained in:
parent
db19a9fc00
commit
cb84514137
1 changed files with 0 additions and 6 deletions
|
@ -79,7 +79,6 @@ func (r *Resources) InspectPVCs(ctx context.Context) (util.Interval, error) {
|
|||
continue
|
||||
}
|
||||
|
||||
updateMemberStatusNeeded := false
|
||||
if k8sutil.IsPersistentVolumeClaimMarkedForDeletion(&p) {
|
||||
// Process finalizers
|
||||
if x, err := r.runPVCFinalizers(ctx, &p, group, memberStatus); err != nil {
|
||||
|
@ -89,11 +88,6 @@ func (r *Resources) InspectPVCs(ctx context.Context) (util.Interval, error) {
|
|||
nextInterval = nextInterval.ReduceTo(x)
|
||||
}
|
||||
}
|
||||
if updateMemberStatusNeeded {
|
||||
if err := status.Members.Update(memberStatus, group); err != nil {
|
||||
return 0, maskAny(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nextInterval, nil
|
||||
|
|
Loading…
Reference in a new issue