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 1b7a571 commit ddb111dCopy full SHA for ddb111d
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