File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package network
19
19
import (
20
20
"fmt"
21
21
"github.com/openziti/edge-api/rest_model"
22
+ "github.com/openziti/foundation/v2/stringz"
22
23
"io"
23
24
"net"
24
25
"sync"
@@ -468,7 +469,8 @@ func (conn *edgeConn) close(closedByRemote bool) {
468
469
conn .hosting .Range (func (key , value interface {}) bool {
469
470
listener := value .(* edgeListener )
470
471
if err := listener .Close (); err != nil {
471
- log .WithError (err ).WithField ("serviceName" , listener .service .Name ).Error ("failed to close listener" )
472
+ serviceName := stringz .OrEmpty (listener .service .Name )
473
+ log .WithError (err ).WithField ("serviceName" , serviceName ).Error ("failed to close listener" )
472
474
}
473
475
return true
474
476
})
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ type Versions struct {
33
33
type EnrollmentClaims struct {
34
34
jwt.RegisteredClaims
35
35
EnrollmentMethod string `json:"em"`
36
+ Controllers []string `json:"ctrls"`
36
37
SignatureCert * x509.Certificate `json:"-"`
37
38
}
38
39
You can’t perform that action at this time.
0 commit comments