@@ -146,11 +146,12 @@ func performIngressConditionUpdate(action string, lease writerlease.Lease, track
146
146
// with different configurations from endlessly updating the route status.
147
147
if ! created && tracker .IsContended (key , now , latest ) {
148
148
glog .V (4 ).Infof ("%s: skipped update due to another process altering the route with a different ingress status value: %s" , action , key )
149
- return writerlease .None , false
149
+ return writerlease .Release , false
150
150
}
151
151
152
152
switch _ , err := oc .Routes (route .Namespace ).UpdateStatus (route ); {
153
153
case err == nil :
154
+ glog .V (4 ).Infof ("%s: updated status of %s/%s" , action , route .Namespace , route .Name )
154
155
tracker .Clear (key , latest )
155
156
return writerlease .Extend , false
156
157
case errors .IsForbidden (err ):
@@ -160,6 +161,7 @@ func performIngressConditionUpdate(action string, lease writerlease.Lease, track
160
161
return writerlease .Extend , false
161
162
case errors .IsNotFound (err ):
162
163
// route was deleted
164
+ glog .V (4 ).Infof ("%s: route %s/%s was deleted before we could update status" , action , route .Namespace , route .Name )
163
165
return writerlease .Release , false
164
166
case errors .IsConflict (err ):
165
167
// just follow the normal process, and retry when we receive the update notification due to
0 commit comments