Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[16.0] Fix log.Errorf usage#5447

Merged
eriknordmark merged 1 commit into
lf-edge:16.0from
eriknordmark:log
Nov 25, 2025
Merged

[16.0] Fix log.Errorf usage#5447
eriknordmark merged 1 commit into
lf-edge:16.0from
eriknordmark:log

Conversation

@eriknordmark

@eriknordmark eriknordmark commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Description

Backport #5423

PR #5414 fails building to do it picking up a new version of golang and hitting: cmd/volumemgr/handlevolumeref.go:260:15: non-constant format string in call to (*github.com/lf-edge/eve/pkg/pillar/base.LogObject).Errorf This fixes that particular issue (but there might be more non-constant strings like this to fix.)

(cherry picked from commit 42ec068)

Changelog notes

None

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR

For backport PRs (remove it if it's not a backport):

  • I've added a reference link to the original PR
  • PR's title follows the template

And the last but not least:

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Please, check the boxes above after submitting the PR in interactive mode.

PR lf-edge#5414 fails building to do it picking up a new version of golang and hitting:
cmd/volumemgr/handlevolumeref.go:260:15: non-constant format string in call to (*github.com/lf-edge/eve/pkg/pillar/base.LogObject).Errorf
This fixes that particular issue (but there might be more non-constant strings like this to fix.)

Signed-off-by: eriknordmark <[email protected]>
(cherry picked from commit 42ec068)
@eriknordmark eriknordmark merged commit 1b1766d into lf-edge:16.0 Nov 25, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants