Skip to content

Commit 12cd6d5

Browse files
committed
fixup! Only requeue if necessary
1 parent 0962f27 commit 12cd6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/exporter_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func (r *ExporterReconciler) reconcileStatusConditionsOnline(
186186
Message: "Lase seen less than 1 minute ago",
187187
})
188188
// marking the exporter online, requeue after 30 seconds
189-
requeueAfter = time.Duration(time.Second * 30)
189+
requeueAfter = time.Second * 30
190190
}
191191

192192
if exporter.Status.Devices == nil {

0 commit comments

Comments
 (0)