Skip to content

Fix handle -W in fcgi mode to set CLICON_RESTCONF_USER#657

Merged
olofhagsand merged 1 commit intoclicon:masterfrom
yamontv:fix_restconf_w_param
Mar 12, 2026
Merged

Fix handle -W in fcgi mode to set CLICON_RESTCONF_USER#657
olofhagsand merged 1 commit intoclicon:masterfrom
yamontv:fix_restconf_w_param

Conversation

@yamontv
Copy link
Contributor

@yamontv yamontv commented Mar 8, 2026

No description provided.

@yamontv
Copy link
Contributor Author

yamontv commented Mar 8, 2026

Hi @olofhagsand . I think the option was missed somehow for the fcgi version. It is availbale for the native though.

@olofhagsand
Copy link
Member

olofhagsand commented Mar 11, 2026

Correct. And for symmetry it should be there too.
Note you can also use -o CLICON_RESTCONF_USER=<myuser> instead.
So the other alternative would be to drop both.
Do you find -W useful?

@yamontv
Copy link
Contributor Author

yamontv commented Mar 11, 2026

I was testing the command-line options and noticed that this one is not actually available, although it is listed in the usage. I was able to resolve it by setting CLICON_RESTCONF_USER in the config.
Still, it may be worth implementing it to keep the interface consistent and preserve flexibility. From a maintenance point of view, adding it for symmetry seems easier than removing it from all the places.

@olofhagsand olofhagsand merged commit 468bc2a into clicon:master Mar 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants