Skip to content

Commit 8312b12

Browse files
committed
Fix a lint issue on image reconcile
1 parent c867dbf commit 8312b12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controllers/image/reconcile.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,8 @@ func (r *orcImageReconciler) reconcileNormal(ctx context.Context, orcImage *orcv
219219
addStatus(withIncrementDownloadAttempts())
220220

221221
return ctrl.Result{}, nil
222-
} else {
223-
return ctrl.Result{}, r.uploadImageContent(ctx, orcImage, imageClient, glanceImage)
224222
}
223+
return ctrl.Result{}, r.uploadImageContent(ctx, orcImage, imageClient, glanceImage)
225224

226225
// Error cases
227226
case images.ImageStatusKilled:

0 commit comments

Comments
 (0)