mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 23:53:07 +01:00
Updated deps, go.19 migration, nginx template work
This commit is contained in:
1 parent
8d37f5df8d
commit
c00b690ed3
23 files changed
+375
-376
No files matched your search
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
@@ -144,7 +144,7 @@ func TestConfigure(t *testing.T) {
|
||||
func BenchmarkLogLevelBelowThreshold(b *testing.B) {
|
||||
l := NewLogger()
|
||||
|
||||
log.SetOutput(ioutil.Discard)
|
||||
log.SetOutput(io.Discard)
|
||||
defer func() {
|
||||
log.SetOutput(os.Stderr)
|
||||
}()
|
||||
@@ -157,7 +157,7 @@ func BenchmarkLogLevelBelowThreshold(b *testing.B) {
|
||||
func BenchmarkLogLevelAboveThreshold(b *testing.B) {
|
||||
l := NewLogger()
|
||||
|
||||
log.SetOutput(ioutil.Discard)
|
||||
log.SetOutput(io.Discard)
|
||||
defer func() {
|
||||
log.SetOutput(os.Stderr)
|
||||
}()
|
||||
|
||||
Reference in new issue
Block a user