mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Rename marshal_request for watchdog, enable lock-file for healthcheck CMD.
This commit is contained in:
@ -57,9 +57,9 @@ func (ReadConfig) Read(hasEnv HasEnv) WatchdogConfig {
|
||||
|
||||
cfg.writeDebug = parseBoolValue(hasEnv.Getenv("write_debug"))
|
||||
|
||||
cfg.marshallRequest = parseBoolValue(hasEnv.Getenv("marshall_request"))
|
||||
cfg.marshalRequest = parseBoolValue(hasEnv.Getenv("marshal_request"))
|
||||
cfg.debugHeaders = parseBoolValue(hasEnv.Getenv("debug_headers"))
|
||||
|
||||
cfg.suppressLock = parseBoolValue(hasEnv.Getenv("suppress_lock"))
|
||||
return cfg
|
||||
}
|
||||
|
||||
@ -74,8 +74,11 @@ type WatchdogConfig struct {
|
||||
// writeDebug write console stdout statements to the container
|
||||
writeDebug bool
|
||||
|
||||
marshallRequest bool
|
||||
marshalRequest bool
|
||||
|
||||
// prints out all incoming and out-going HTTP headers
|
||||
debugHeaders bool
|
||||
|
||||
// Don't write a lock file to /tmp/
|
||||
suppressLock bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user