Skip to content

Commit c5b72dd

Browse files
committed
Use any insteadof interface{}
Just a modernization.
1 parent 74172ea commit c5b72dd

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)