-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow non fs stores as lower layer of overlay stores.
The local-overlay:// documentation states that any store can be specified as lower, e.g. another daemon store, but the code currently downcasts the store to LocalFSStore unconditionally, which makes it impossible to use any other store as lower. The only reason I found to do the downcast is to perform an optional check-mount action, which checks if the lower and upper stores are indeed overlayed correctly. This change relaxes that undocumented constraint and unlocks non-trivial store compositions.
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters