Recomend running camput --init in error message.

This commit is contained in:
Brad Fitzpatrick 2011-01-26 13:18:28 -08:00
parent 296efd6e99
commit 47f40c0b98
1 changed files with 1 additions and 1 deletions

View File

@ -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)