mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 01:23:49 +01:00
warning
This commit is contained in:
parent
38318c68e2
commit
b1de849714
@ -23,5 +23,5 @@ func Error(msg string, err error) {
|
||||
}
|
||||
|
||||
func Warning(msg string, v ...interface{}) {
|
||||
_, _ = fmt.Fprintf(os.Stderr, "%v: "+msg, v...)
|
||||
_, _ = fmt.Fprintf(os.Stderr, "%v: "+msg, append([]interface{}{WarningLabel}, v...))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user