Skip to content

Commit

Permalink
PMM-12375 fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 20, 2023
1 parent 8ee6e76 commit 7489ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/runner/jobs/pbm_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func waitForPBMBackup(ctx context.Context, l logrus.FieldLogger, dbURL *string,
return nil
case "canceled":
return errors.New("backup was canceled")
case "error": //nolint:goconst
case "error":
return errors.New(info.Error)
}

Expand Down
2 changes: 1 addition & 1 deletion agent/serviceinfobroker/service_info_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (sib *ServiceInfoBroker) GetInfoFromService(ctx context.Context, msg *agent
}
}

func (sib *ServiceInfoBroker) getMySQLInfo(ctx context.Context, dsn string, files *agentpb.TextFiles, id uint32) *agentpb.ServiceInfoResponse { //nolint:lll
func (sib *ServiceInfoBroker) getMySQLInfo(ctx context.Context, dsn string, files *agentpb.TextFiles, id uint32) *agentpb.ServiceInfoResponse {
var res agentpb.ServiceInfoResponse
var err error

Expand Down

0 comments on commit 7489ee5

Please sign in to comment.