formatting stuff

This commit is contained in:
Michael Kuhnt 2023-04-19 11:39:55 +02:00
parent 690db913c3
commit 37c8af0fb1
No known key found for this signature in database
GPG key ID: 088DC1E2EDC5A631
2 changed files with 10 additions and 8 deletions

View file

@ -25,13 +25,15 @@ import (
uuid "github.com/satori/go.uuid"
)
type PoolType string
type AddressType string
type EventType string
type EventLevel string
type OSType string
type OSArch string
type ProviderType string
type (
PoolType string
AddressType string
EventType string
EventLevel string
OSType string
OSArch string
ProviderType string
)
const (
// LXDProvider represents the LXD provider.

View file

@ -171,7 +171,7 @@ func GetLoggingWriter(cfg *config.Config) (io.Writer, error) {
Filename: cfg.Default.LogFile,
MaxSize: 500, // megabytes
MaxBackups: 3,
MaxAge: 28, //days
MaxAge: 28, // days
Compress: true, // disabled by default
}
}