Skip to content

Commit

Permalink
PMM-12375 revert changed related to linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 26, 2023
1 parent b345c2e commit 4983e2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion managed/services/agents/grpc/agent_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (s *agentServer) Connect(stream agentpb.Agent_ConnectServer) error {
return s.handler.Run(stream)
}

// check interfaces.
// check interfaces
var (
_ agentpb.AgentServer = (*agentServer)(nil)
)
4 changes: 2 additions & 2 deletions managed/services/agents/log_level.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"github.com/percona/pmm/version"
)

// Log level available in exporters with pmm 2.28.0 and up.
// Log level available in exporters with pmm 2.28
var exporterLogLevelCommandVersion = version.MustParse("2.27.99")

// withLogLevel - append CLI args --log.level
// mysqld_exporter, node_exporter and postgres_exporter don't support --log.level=fatal.
// mysqld_exporter, node_exporter and postgres_exporter don't support --log.level=fatal
func withLogLevel(args []string, logLevel *string, pmmAgentVersion *version.Parsed, supportLogLevelFatal bool) []string {
level := pointer.GetString(logLevel)

Expand Down

0 comments on commit 4983e2d

Please sign in to comment.