Skip to content

Commit

Permalink
fixes lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpmartinez committed Jan 3, 2024
1 parent 58e8d2b commit c680965
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ziti/ziti.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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" {
Expand Down

0 comments on commit c680965

Please sign in to comment.