diff options
| author | Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com> | 2018-12-10 16:13:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-10 16:13:06 +0300 |
| commit | 93da26433ad15e1c46904a2d417d8f6d8eeaec4f (patch) | |
| tree | a84993cb88bb5fd8f319a0ff04aced36d823ab17 /pkg/app/config.go | |
| parent | Merge pull request #29 from isacikgoz/develop (diff) | |
| parent | minor bugfix and some polishment on code style (diff) | |
| download | gitbatch-93da26433ad15e1c46904a2d417d8f6d8eeaec4f.tar.gz | |
Merge pull request #31 from isacikgoz/develop
minor bugfix and some polishment on code style
Diffstat (limited to 'pkg/app/config.go')
| -rw-r--r-- | pkg/app/config.go | 6 |
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 |
