Skip to content

Commit

Permalink
PMM-12631 Fix linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Oct 31, 2023
1 parent 66d6f22 commit 325963e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions managed/services/checks/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ func (s *Service) filterSupportedChecks(advisors []check.Advisor) []check.Adviso
for _, advisor := range advisors {
checks := make([]check.Check, 0, len(advisor.Checks))

loop:
LOOP:
for _, c := range advisor.Checks {
if c.Version > maxSupportedVersion {
s.l.Warnf("Unsupported checks version: %d, max supported version: %d.", c.Version, maxSupportedVersion)
Expand All @@ -1507,7 +1507,7 @@ func (s *Service) filterSupportedChecks(advisors []check.Advisor) []check.Adviso
for _, query := range c.Queries {
if ok := isQueryTypeSupported(query.Type); !ok {
s.l.Warnf("Unsupported query type: %s.", query.Type)
continue loop
continue LOOP
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions managed/services/supervisord/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ import (
"sync"
"time"

"github.com/pkg/errors"
"golang.org/x/sys/unix"

pprofUtils "github.com/percona/pmm/managed/utils/pprof"
"github.com/percona/pmm/utils/logger"
"github.com/percona/pmm/utils/pdeathsig"
"github.com/pkg/errors"
"golang.org/x/sys/unix"
)

const (
Expand Down

0 comments on commit 325963e

Please sign in to comment.