Use $CERTSPOTTER_STATE_DIR to specify state directory
This commit is contained in:
parent
dac062e17d
commit
7196ec5217
|
@ -24,7 +24,7 @@ import (
|
|||
)
|
||||
|
||||
func DefaultStateDir () string {
|
||||
if envVar := os.Getenv("CTWATCH_STATE_DIR"); envVar != "" {
|
||||
if envVar := os.Getenv("CERTSPOTTER_STATE_DIR"); envVar != "" {
|
||||
return envVar
|
||||
} else {
|
||||
return cmd.DefaultStateDir("certspotter")
|
||||
|
|
Loading…
Reference in New Issue