fix panic for nil pointer
This commit is contained in:
1 parent
0e5c285eb7
commit
d0ff5358df
4 files changed
+24
-6
No files matched your search
@@ -80,6 +80,7 @@ func NewIngress(opts ...Option) ingress.Ingress {
|
||||
ctx, cancel := context.WithCancel(context.TODO())
|
||||
|
||||
ing := &localIngress{
|
||||
rules: make(map[string]*ingress.Rule),
|
||||
cancelFunc: cancel,
|
||||
options: options,
|
||||
logger: options.logger,
|
||||
|
||||
Reference in new issue
Block a user