Skip to content

Commit

Permalink
shard: Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Aug 14, 2022
1 parent 2013da8 commit 0ae6f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions session/shard/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func NewIdentifiedManagerWithURL(

m.shards[i] = ShardState{
ID: gateway.Identifier{
IdentifyCommand: data,
IdentifyCommand: data,
IdentifyShortLimit: id.IdentifyShortLimit,
IdentifyGlobalLimit: id.IdentifyGlobalLimit,
},
Expand Down Expand Up @@ -287,7 +287,7 @@ func (m *Manager) tryRescale(ctx context.Context) bool {

newShards[i] = ShardState{
ID: gateway.Identifier{
IdentifyCommand: data,
IdentifyCommand: data,
IdentifyShortLimit: newID.IdentifyShortLimit,
IdentifyGlobalLimit: newID.IdentifyGlobalLimit,
},
Expand Down

0 comments on commit 0ae6f66

Please sign in to comment.