Skip to content

Commit d41ba90

Browse files
committed
fix: gw validation
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
1 parent 7daffd0 commit d41ba90

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/gridtypes/zos/gw.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ func (g GatewayBase) Valid(getter gridtypes.WorkloadGetter) error {
105105
return fmt.Errorf("backends list can not be empty")
106106
}
107107

108-
if len(g.Backends) != 1 {
109-
return fmt.Errorf("only one backend is supported")
110-
}
108+
// if len(g.Backends) != 1 {
109+
// return fmt.Errorf("only one backend is supported")
110+
// }
111111

112112
for _, backend := range g.Backends {
113113
if err := backend.Valid(g.TLSPassthrough); err != nil {

0 commit comments

Comments
 (0)