From f2a5800cea0d87952af1a3e079eea9b3a7aaf43c Mon Sep 17 00:00:00 2001 From: Kurt Haenen Date: Mon, 20 Jun 2022 18:10:57 +0200 Subject: configfile: Expose options awaiting to be saved (#5270) Adds a save_config_pending_items to the status reported by configfile reflecting the items and values that a future SAVE_CONFIG would actually persist. Signed-off-by: Kurt Haenen --- docs/Status_Reference.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/Status_Reference.md') diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index a515901b..4cc7512f 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -41,6 +41,8 @@ The following information is available in the `configfile` object here.) All values are returned as strings. - `save_config_pending`: Returns true if there are updates that a `SAVE_CONFIG` command may persist to disk. +- `save_config_pending_items`: Contains the sections and options that + were changed and would be persisted by a `SAVE_CONFIG`. - `warnings`: A list of warnings about config options. Each entry in the list will be a dictionary containing a `type` and `message` field (both strings). Additional fields may be available depending -- cgit v1.2.3-70-g09d2