This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark read-only controllers as read-only
Some controllers will be effectively read-only, because - they are under control of the system (e.g., addons) - they don't appear in the git repo, so we can't write changes - the git repo isn't ready, or hasn't been supplied So that we can treat these specially, mark them as read-only in the ListServices API result. On backwards compatibility: I have added this into the v6 API, because it's a hint to the API client; the zero value indicates it is _probably_ OK to attempt whatever you want to attempt. Since prior daemon code wouldn't proceed if the git repo wasn't ready, that is more often than not the case.
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 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
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