File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
internal/mode/static/status Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package status
33import (
44 "context"
55 "errors"
6+ "fmt"
67 "testing"
78
89 . "github.com/onsi/gomega"
@@ -1087,7 +1088,7 @@ func TestBuildGatewayStatuses(t *testing.T) {
10871088 ObservedGeneration : 2 ,
10881089 LastTransitionTime : transitionTime ,
10891090 Reason : string (v1 .GatewayReasonInvalid ),
1090- Message : staticConds .GatewayMessageFailedNginxReload ,
1091+ Message : fmt . Sprintf ( "%s: test error" , staticConds .GatewayMessageFailedNginxReload ) ,
10911092 },
10921093 },
10931094 Listeners : []v1.ListenerStatus {
@@ -1125,7 +1126,7 @@ func TestBuildGatewayStatuses(t *testing.T) {
11251126 ObservedGeneration : 2 ,
11261127 LastTransitionTime : transitionTime ,
11271128 Reason : string (v1 .ListenerReasonInvalid ),
1128- Message : staticConds .ListenerMessageFailedNginxReload ,
1129+ Message : fmt . Sprintf ( "%s: test error" , staticConds .ListenerMessageFailedNginxReload ) ,
11291130 },
11301131 },
11311132 },
You can’t perform that action at this time.
0 commit comments