Skip to content

Commit 90aa867

Browse files
committed
fix lint
Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 3c10b3b commit 90aa867

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
@@ -389,12 +389,12 @@ func (t *Translator) ProcessListeners(gateways []*GatewayContext, xdsIR resource
389389
// A listener is not ready if it has Accepted=False or Programmed=False.
390390
func isListenerReady(listener *ListenerContext) bool {
391391
conditions := listener.GetConditions()
392-
392+
393393
// No conditions yet means it will be set to ready during validation.
394394
if len(conditions) == 0 {
395395
return true
396396
}
397-
397+
398398
// Check if Accepted=False or Programmed=False exists.
399399
for _, cond := range conditions {
400400
if cond.Type == string(gwapiv1.ListenerConditionAccepted) && cond.Status == metav1.ConditionFalse {
@@ -404,7 +404,7 @@ func isListenerReady(listener *ListenerContext) bool {
404404
return false
405405
}
406406
}
407-
407+
408408
return true
409409
}
410410

0 commit comments

Comments
 (0)