Skip to content

[prometheus-adapter expression]some change about metricRule prase #1210

[prometheus-adapter expression]some change about metricRule prase

[prometheus-adapter expression]some change about metricRule prase #1210

Triggered via pull request June 9, 2023 03:22
Status Failure
Total duration 4m 29s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
cover: pkg/prometheus-adapter/expression_test.go#L50
assignment mismatch: 2 variables but GetMetricRulesFromResourceRules returns 3 values
cover: pkg/prometheus-adapter/expression_test.go#L97
assignment mismatch: 2 variables but GetMetricRulesFromDiscoveryRule returns 3 values
cover: pkg/prometheus-adapter/expression_test.go#L181
not enough arguments in call to GetMetricMatchesFromDiscoveryRule
cover
Process completed with exit code 2.
lint: pkg/prometheus-adapter/expression_test.go#L50
cannot initialize 2 variables with 3 values (typecheck)
lint: pkg/prometheus-adapter/expression_test.go#L97
cannot initialize 2 variables with 3 values (typecheck)
lint: pkg/prometheus-adapter/expression_test.go#L181
not enough arguments in call to GetMetricMatchesFromDiscoveryRule
lint
issues found
metric-adapter
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
metric-adapter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
metric-adapter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
crane-agent
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
crane-agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
crane-agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
craned
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
craned
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
craned
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cover
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
cover
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cover
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.