Merge pull request #46 from docker/change-env-targets

Changing env to be TARGETS

Signed-off-by: David Lawrence <david.lawrence@docker.com>

Signed-off-by: Diogo Mónica <diogo.monica@gmail.com> (github: endophage)
This commit is contained in:
Diogo Mónica 2015-11-10 10:08:10 -08:00 committed by David Lawrence
commit a2ff9a771c
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func getPassphraseRetriever() passphrase.Retriever {
baseRetriever := passphrase.PromptRetriever() baseRetriever := passphrase.PromptRetriever()
env := map[string]string{ env := map[string]string{
"root": os.Getenv("NOTARY_ROOT_PASSPHRASE"), "root": os.Getenv("NOTARY_ROOT_PASSPHRASE"),
"targets": os.Getenv("NOTARY_TARGET_PASSPHRASE"), "targets": os.Getenv("NOTARY_TARGETS_PASSPHRASE"),
"snapshot": os.Getenv("NOTARY_SNAPSHOT_PASSPHRASE"), "snapshot": os.Getenv("NOTARY_SNAPSHOT_PASSPHRASE"),
} }