Fixing error assignment

This commit is contained in:
Ben Gadbois 2016-10-25 20:18:25 +02:00
parent 80ab6657f9
commit 553a030220
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func getConfigManager(rp viper.RemoteProvider) (crypt.ConfigManager, error) {
var err error
if rp.SecretKeyring() != "" {
kr, err := os.Open(rp.SecretKeyring())
kr, err = os.Open(rp.SecretKeyring())
defer kr.Close()
if err != nil {
return nil, err