mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Add marshall_request to watchdog for passing header to functions
This commit is contained in:
@ -57,6 +57,8 @@ func (ReadConfig) Read(hasEnv HasEnv) WatchdogConfig {
|
||||
|
||||
cfg.writeDebug = parseBoolValue(hasEnv.Getenv("write_debug"))
|
||||
|
||||
cfg.marshallRequest = parseBoolValue(hasEnv.Getenv("marshall_request"))
|
||||
|
||||
return cfg
|
||||
}
|
||||
|
||||
@ -69,4 +71,6 @@ type WatchdogConfig struct {
|
||||
|
||||
// writeDebug write console stdout statements to the container
|
||||
writeDebug bool
|
||||
|
||||
marshallRequest bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user