From c680965647e646b2bb7892bbc40a3c5c29c8df5d Mon Sep 17 00:00:00 2001 From: Andrew Martinez Date: Wed, 3 Jan 2024 14:18:12 -0500 Subject: [PATCH] fixes lint issues --- ziti/ziti.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ziti/ziti.go b/ziti/ziti.go index 6b836208..1a996887 100644 --- a/ziti/ziti.go +++ b/ziti/ziti.go @@ -186,8 +186,6 @@ type ContextImpl struct { closeNotify chan struct{} authQueryHandlers map[string]func(query *rest_model.AuthQueryDetail, response MfaCodeResponse) error - failedAttempts map[string]uint - events.EventEmmiter } @@ -1526,7 +1524,7 @@ func (context *ContextImpl) refreshSession(session *rest_model.SessionDetail) (* } func (context *ContextImpl) cacheSession(op string, session *rest_model.SessionDetail) { - sessionKey := fmt.Sprintf("%s:%s", session.ServiceID, *session.Type) + sessionKey := fmt.Sprintf("%s:%s", *session.ServiceID, *session.Type) if *session.Type == SessionDial { if op == "create" {