mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
logger: fix go-1.15-discovered conversion from int to string
logger/datastructures.go:85:10: conversion from Level (int) to string yields a string of one rune
This commit is contained in:
parent
480176ba2d
commit
4f9f21f7f2
@ -82,7 +82,7 @@ func (l Level) String() string {
|
|||||||
case Error:
|
case Error:
|
||||||
return "error"
|
return "error"
|
||||||
default:
|
default:
|
||||||
return string(l)
|
return fmt.Sprintf("unknown level %d", l)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user