mirror of https://github.com/perkeep/perkeep.git
Recomend running camput --init in error message.
This commit is contained in:
parent
296efd6e99
commit
47f40c0b98
|
@ -103,7 +103,7 @@ func (c *Client) SignerPublicKeyBlobref() *blobref.BlobRef {
|
||||||
key := "publicKeyBlobref"
|
key := "publicKeyBlobref"
|
||||||
v, ok := config[key]
|
v, ok := config[key]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("No key %q in JSON configuration file %q", key, ConfigFilePath())
|
log.Printf("No key %q in JSON configuration file %q; have you run \"camput --init\"?", key, ConfigFilePath())
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
s, ok := v.(string)
|
s, ok := v.(string)
|
||||||
|
|
Loading…
Reference in New Issue