mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-30 15:01:24 +00:00
Run 'go fmt' on code base.
Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
This commit is contained in:
parent
bc95a19c5d
commit
c8739f64b9
@ -16,10 +16,10 @@ package logging
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"io"
|
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
lumberjack "gopkg.in/natefinch/lumberjack.v2"
|
lumberjack "gopkg.in/natefinch/lumberjack.v2"
|
||||||
@ -142,12 +142,12 @@ func SetLogFile(filename string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loggingW = &lumberjack.Logger{
|
loggingW = &lumberjack.Logger{
|
||||||
Filename: filename,
|
Filename: filename,
|
||||||
MaxSize: 100, // megabytes
|
MaxSize: 100, // megabytes
|
||||||
MaxBackups: 5,
|
MaxBackups: 5,
|
||||||
MaxAge: 5, // days
|
MaxAge: 5, // days
|
||||||
Compress: true,
|
Compress: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user