Skip to content

Commit 2cbc7dd

Browse files
committed
fix lint
Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 9fc4d5c commit 2cbc7dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/gatewayapi/listener.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ func (t *Translator) ProcessListeners(gateways []*GatewayContext, xdsIR resource
208208
// A listener is not ready if it has Accepted=False or Programmed=False.
209209
func isListenerReady(listener *ListenerContext) bool {
210210
conditions := listener.GetConditions()
211-
211+
212212
// No conditions yet means it will be set to ready during validation.
213213
if len(conditions) == 0 {
214214
return true
215215
}
216-
216+
217217
// Check if Accepted=False or Programmed=False exists.
218218
for _, cond := range conditions {
219219
if cond.Type == string(gwapiv1.ListenerConditionAccepted) && cond.Status == metav1.ConditionFalse {
@@ -223,7 +223,7 @@ func isListenerReady(listener *ListenerContext) bool {
223223
return false
224224
}
225225
}
226-
226+
227227
return true
228228
}
229229

0 commit comments

Comments
 (0)