Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: warning error for slog #1487

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

diofeher
Copy link
Member

When running tests:

cmd/run-server/main.go:21:41: slog.Logger.Error arg "err" should be a string or a slog.Attr (possible missing key or value)
cmd/run-server/main.go:32:42: slog.Logger.Error arg "err" should be a string or a slog.Attr (possible missing key or value)

Fixed this.

Signed-off-by: Diogenes Fernandes <[email protected]>
@diofeher diofeher changed the title Fix warning error for slog fix: warning error for slog Jan 29, 2025
@cam72cam
Copy link
Member

cam72cam commented Feb 3, 2025

Thanks @diofeher !

@cam72cam cam72cam merged commit 3ec824c into opentofu:main Feb 3, 2025
1 check 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.

3 participants