Skip to content

Commit

Permalink
PMM-12375 fix the linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Oct 1, 2023
1 parent 85fec0f commit de16f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed/services/agents/connection_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *ConnectionChecker) CheckConnectionToService(ctx context.Context, q *ref
}
// In newer clients this gets handled by the ServiceInfoBroker.
if !isSibSupported {
tableCount := resp.(*agentpb.CheckConnectionResponse).GetStats().GetTableCount() //nolint:forcetypeassert
tableCount := resp.(*agentpb.CheckConnectionResponse).GetStats().GetTableCount() //nolint:forcetypeassert,staticcheck
agent.TableCount = &tableCount
l.Debugf("Updating table count: %d.", tableCount)
if err = q.Update(agent); err != nil {
Expand Down

0 comments on commit de16f65

Please sign in to comment.