From 61071f068b4e7e92beb550014a446a54577ff90e Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sat, 30 Dec 2017 13:57:12 +0100 Subject: Use keyed struct fields --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 7deef69..ecc679a 100644 --- a/config/config.go +++ b/config/config.go @@ -81,7 +81,7 @@ func LoadConfig(path string) (config Config, err error) { } func (c Config) GPGSigner() gpg.Signer { - return gpg.Signer{c.Signing.Key} + return gpg.Signer{Key: c.Signing.Key} } func (c Config) GetStorageMethod(name string) (string, error) { -- cgit v1.2.3-70-g09d2