Skip to content

Commit 9e296eb

Browse files
authored
Merge pull request #479 from arnested/any
Use `any` insteadof `interface{}`
2 parents 74172ea + c5b72dd commit 9e296eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const (
2929
)
3030

3131
// Logf formats a log entry to systemd's journald.
32-
func Logf(priority Priority, format string, a ...interface{}) {
32+
func Logf(priority Priority, format string, a ...any) {
3333
err := journal.Print(journal.Priority(priority), format, a...)
3434
if err != nil {
3535
panic(fmt.Errorf("could not log: %w", err))

0 commit comments

Comments
 (0)