update ingress interface

This commit is contained in:
ginuerzh
2023-11-13 20:40:42 +08:00
parent 696d10fc28
commit ca1f44d93c
5 changed files with 26 additions and 17 deletions

View File

@ -259,8 +259,8 @@ func (ing *localIngress) Get(ctx context.Context, host string, opts ...ingress.G
return ep
}
func (ing *localIngress) Set(ctx context.Context, host, endpoint string, opts ...ingress.SetOption) {
func (ing *localIngress) Set(ctx context.Context, host, endpoint string, opts ...ingress.SetOption) bool {
return false
}
func (ing *localIngress) lookup(host string) string {