Skip to content

Commit

Permalink
apiSessionAdded.go: Fix typo found by codespell
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Trangoni <[email protected]>
  • Loading branch information
mjtrangoni committed Dec 18, 2023
1 parent 42f6e3f commit e9ff77c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions router/handler_edge_ctrl/apiSessionAdded.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ import (
"encoding/json"
"errors"
"fmt"
"sync"
"sync/atomic"
"time"

"github.com/michaelquigley/pfxlog"
"github.com/openziti/channel/v2"
"github.com/openziti/channel/v2/protobufs"
Expand All @@ -29,9 +33,6 @@ import (
"github.com/openziti/ziti/router/fabric"
"github.com/sirupsen/logrus"
"google.golang.org/protobuf/proto"
"sync"
"sync/atomic"
"time"
)

type apiSessionAddedHandler struct {
Expand Down Expand Up @@ -121,7 +122,7 @@ func (h *apiSessionAddedHandler) applySync(tracker *apiSessionSyncTracker) {

tracker.isDone.Store(true)
duration := tracker.endTime.Sub(tracker.startTime)
logrus.Infof("finished sychronizing api sessions [count: %d, syncId: %s, duration: %v]", len(apiSessions), tracker.syncId, duration)
logrus.Infof("finished synchronizing api sessions [count: %d, syncId: %s, duration: %v]", len(apiSessions), tracker.syncId, duration)
}

func (h *apiSessionAddedHandler) syncFailed(err error) {
Expand Down

0 comments on commit e9ff77c

Please sign in to comment.