summaryrefslogtreecommitdiff
path: root/pkg/app/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/config.go')
-rw-r--r--pkg/app/config.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/app/config.go b/pkg/app/config.go
index 94052e6..b613532 100644
--- a/pkg/app/config.go
+++ b/pkg/app/config.go
@@ -80,10 +80,8 @@ func readConfiguration() error {
// write configuration to a file
func writeConfiguration() error {
- if err := viper.WriteConfig(); err != nil {
- return err
- }
- return nil
+ err := viper.WriteConfig()
+ return err
}
// initialize the configuration manager