mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: read-only root fs becomes default (#1019)
* fn: read-only root fs becomes default Set root fs as read-only by default. * fn: update doc for FN_DISABLE_READONLY_ROOTFS
This commit is contained in:
@@ -170,7 +170,7 @@ func createAgent(da DataAccess, options ...AgentOption) Agent {
|
||||
PreForkUseOnce: a.cfg.PreForkUseOnce,
|
||||
PreForkNetworks: a.cfg.PreForkNetworks,
|
||||
MaxTmpFsInodes: a.cfg.MaxTmpFsInodes,
|
||||
EnableReadOnlyRootFs: a.cfg.EnableReadOnlyRootFs,
|
||||
EnableReadOnlyRootFs: !a.cfg.DisableReadOnlyRootFs,
|
||||
})
|
||||
|
||||
a.da = da
|
||||
|
||||
Reference in New Issue
Block a user