Skip to content

Conversation

@v-zhuravlev
Copy link
Contributor

@v-zhuravlev v-zhuravlev commented Nov 1, 2024

Add support for empty lists commonlib.variables generation, for example:

      useCluster:
        commonlib.variables.new(
          filteringSelector=this.config.filteringSelector,
          // drop clusterLabel from groupLabels:
          groupLabels=[],
          instanceLabels=[],
          varMetric='instance:node_cpu_utilisation:rate5m',
          customAllValue='.+',
        ),

@v-zhuravlev v-zhuravlev requested a review from a team as a code owner November 1, 2024 08:50
@v-zhuravlev v-zhuravlev changed the title Add support for empty lists n commonlib.variables generation Add support for empty lists in commonlib.variables generation Nov 1, 2024
@v-zhuravlev v-zhuravlev merged commit ab84b9f into master Nov 1, 2024
4 checks passed
@v-zhuravlev v-zhuravlev deleted the commonlib-vars-empty-instance/grouplabels branch November 1, 2024 12:31
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