From 37c8af0fb1e352cccd4f3bf2467e782c0940a857 Mon Sep 17 00:00:00 2001 From: Michael Kuhnt Date: Wed, 19 Apr 2023 11:39:55 +0200 Subject: [PATCH] formatting stuff --- params/params.go | 16 +++++++++------- util/util.go | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/params/params.go b/params/params.go index ece5b52b..74ec6c03 100644 --- a/params/params.go +++ b/params/params.go @@ -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. diff --git a/util/util.go b/util/util.go index 0bf283eb..5af5b53c 100644 --- a/util/util.go +++ b/util/util.go @@ -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 } }