We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DefaultServer
proto
1 parent 624441d commit 6a67203Copy full SHA for 6a67203
pkg/annotations/service/proto.go
@@ -25,7 +25,7 @@ func (a *Proto) GetName() string {
25
func (a *Proto) Process(k store.K8s, annotations ...map[string]string) error {
26
input := common.GetValue(a.GetName(), annotations...)
27
if input == "h2" {
28
- if a.backend.DefaultServer != nil {
+ if a.backend.DefaultServer == nil {
29
a.backend.DefaultServer = &models.DefaultServer{}
30
}
31
a.backend.DefaultServer.Proto = "h2"
0 commit comments