File tree 1 file changed +3
-0
lines changed
internal/framework/status 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -254,13 +254,15 @@ func (upd *UpdaterImpl) writeStatuses(
254
254
if apierrors .IsNotFound (err ) {
255
255
upd .cfg .Logger .V (1 ).Info (
256
256
"Resource was not found when trying to update status" ,
257
+ "error" , err ,
257
258
"namespace" , nsname .Namespace ,
258
259
"name" , nsname .Name ,
259
260
"kind" , obj .GetObjectKind ().GroupVersionKind ().Kind )
260
261
return true , nil
261
262
}
262
263
upd .cfg .Logger .V (1 ).Info (
263
264
"Encountered error when getting resource to update status" ,
265
+ "error" , err ,
264
266
"namespace" , nsname .Namespace ,
265
267
"name" , nsname .Name ,
266
268
"kind" , obj .GetObjectKind ().GroupVersionKind ().Kind )
@@ -272,6 +274,7 @@ func (upd *UpdaterImpl) writeStatuses(
272
274
if err := upd .cfg .Client .Status ().Update (ctx , obj ); err != nil {
273
275
upd .cfg .Logger .V (1 ).Info (
274
276
"Encountered error updating status" ,
277
+ "error" , err ,
275
278
"namespace" , nsname .Namespace ,
276
279
"name" , nsname .Name ,
277
280
"kind" , obj .GetObjectKind ().GroupVersionKind ().Kind )
You can’t perform that action at this time.
0 commit comments