mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-22 06:43:28 +00:00
Changed default and fallback host_dir
Have to change them since we are trying to resolve system services and the system services are in the /var/lib/faasd/hosts file instead of /var/lib/faasd-provider/hosts file. Signed-off-by: Shikachuu <zcmate@gmail.com>
This commit is contained in:
@ -249,7 +249,7 @@ func prepareEnv(envProcess string, reqEnvVars map[string]string) []string {
|
||||
func getMounts() []specs.Mount {
|
||||
wd, _ := os.LookupEnv("hosts_dir")
|
||||
if len(wd) == 0 {
|
||||
wd = "/var/lib/faasd-provider"
|
||||
wd = "/var/lib/faasd"
|
||||
}
|
||||
|
||||
mounts := []specs.Mount{}
|
||||
|
Reference in New Issue
Block a user