Skip to content

feat(config): Autodetect cluster#78

Merged
plaffitt merged 1 commit into
mainfrom
feat/clusterselect
Jun 5, 2026
Merged

feat(config): Autodetect cluster#78
plaffitt merged 1 commit into
mainfrom
feat/clusterselect

Conversation

@lcaflc

@lcaflc lcaflc commented May 12, 2026

Copy link
Copy Markdown
Contributor

Change the config cluster loading management

Allow the following things:

  • warn if no cluster is defined in configuration
  • if no cluster selected in the cli options list what's available
  • if there is only one cluster in the configuration, simply use it instead of mandate a selection

@lcaflc lcaflc requested review from lperdereau and plaffitt May 12, 2026 14:42
@lcaflc lcaflc marked this pull request as ready for review May 12, 2026 14:45
@lcaflc lcaflc force-pushed the feat/clusterselect branch from 0d286f6 to f1b398c Compare May 12, 2026 16:02
@lcaflc lcaflc added this to the 0.7.1 milestone May 13, 2026
Comment thread src/pvecontrol/__init__.py Outdated
@lcaflc lcaflc force-pushed the feat/clusterselect branch from f909aaf to 50cfea6 Compare May 19, 2026 09:49
Change the config cluster loading management
Allow the following things:
 - warn if no cluster is defined in configuration
 - if no cluster selected in the cli options list what's available
 - if there is only one cluster in the configuration, simply use it
instead of mandate a selection
 - cluster selection case-insensitive
@plaffitt plaffitt force-pushed the feat/clusterselect branch from 50cfea6 to b1ca8e8 Compare June 5, 2026 16:00
@plaffitt plaffitt merged commit 7d19e59 into main Jun 5, 2026
9 checks passed
@plaffitt plaffitt deleted the feat/clusterselect branch June 5, 2026 16:01
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