Make upper-layer a PathSetting instead of a Setting<string>.

This commit is contained in:
Ben Radford 2023-05-15 10:29:06 +01:00 committed by Ben Radford
parent b0989cb10b
commit 0df37edb1c

View file

@ -25,7 +25,7 @@ struct LocalOverlayStoreConfig : virtual LocalStoreConfig
Must be used as OverlayFS lower layer for this store's store dir. Must be used as OverlayFS lower layer for this store's store dir.
)"}; )"};
const Setting<std::string> upperLayer{(StoreConfig*) this, "", "upper-layer", const PathSetting upperLayer{(StoreConfig*) this, false, "", "upper-layer",
R"( R"(
Must be used as OverlayFS upper layer for this store's store dir. Must be used as OverlayFS upper layer for this store's store dir.
)"}; )"};