Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix some linter warnings #402

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

pohly
Copy link

@pohly pohly commented Mar 11, 2024

What this PR does / why we need it:

revive in golangci-lint has version v1.56.2 complains about unused named parameters. Sometimes names are useful to document the purpose of a parameter. Comments are used instead now in those cases.

Release note:

NONE

/assign @mengjiao-liu

revive in golangci-lint has version v1.56.2 complains about unused named
parameters. Sometimes names are useful to document the purpose of a
parameter. Comments are used instead now in those cases.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 11, 2024
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2024
@k8s-ci-robot
Copy link

This issue is currently awaiting triage.

If klog contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 11, 2024
Copy link

@harshanarayana harshanarayana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

/cc @dims

@k8s-ci-robot k8s-ci-robot requested a review from dims March 13, 2024 04:15
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 13, 2024
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshanarayana, pohly

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit ab53041 into kubernetes:main Mar 13, 2024
17 checks passed
renovate bot added a commit to anza-labs/lke-operator that referenced this pull request Jun 15, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | `v2.120.1` ->
`v2.130.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes/klog (k8s.io/klog/v2)</summary>

###
[`v2.130.0`](https://github.com/kubernetes/klog/releases/tag/v2.130.0):
Prepare klog release for Kubernetes v1.31 (Take 1)

[Compare
Source](https://github.com/kubernetes/klog/compare/v2.120.1...v2.130.0)

#### What's Changed

- chore(\*): fix spelling of Intel Corporation by
[@&#8203;jsoref](https://github.com/jsoref) in
[kubernetes/klog#399
- build: fix some linter warnings by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#402
- examples: fix linter warning by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#406
- Do not acquire lock for file.Sync() fsync call by
[@&#8203;1978629634](https://github.com/1978629634) in
[kubernetes/klog#404
- ktesting: tone down warning about leaked test goroutine by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#401

#### New Contributors

- [@&#8203;jsoref](https://github.com/jsoref) made their first
contribution in
[kubernetes/klog#399
- [@&#8203;1978629634](https://github.com/1978629634) made their first
contribution in
[kubernetes/klog#404

**Full Changelog**:
kubernetes/klog@v2.120.1...v2.130.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/anza-labs/lke-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcGVuZGVuY3kiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
MrAlias pushed a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request Jun 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | `v2.120.1` ->
`v2.130.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes/klog (k8s.io/klog/v2)</summary>

###
[`v2.130.0`](https://github.com/kubernetes/klog/releases/tag/v2.130.0):
Prepare klog release for Kubernetes v1.31 (Take 1)

[Compare
Source](https://github.com/kubernetes/klog/compare/v2.120.1...v2.130.0)

#### What's Changed

- chore(\*): fix spelling of Intel Corporation by
[@&#8203;jsoref](https://github.com/jsoref) in
[kubernetes/klog#399
- build: fix some linter warnings by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#402
- examples: fix linter warning by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#406
- Do not acquire lock for file.Sync() fsync call by
[@&#8203;1978629634](https://github.com/1978629634) in
[kubernetes/klog#404
- ktesting: tone down warning about leaked test goroutine by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#401

#### New Contributors

- [@&#8203;jsoref](https://github.com/jsoref) made their first
contribution in
[kubernetes/klog#399
- [@&#8203;1978629634](https://github.com/1978629634) made their first
contribution in
[kubernetes/klog#404

**Full Changelog**:
kubernetes/klog@v2.120.1...v2.130.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jun 19, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | `v2.120.1` ->
`v2.130.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>kubernetes/klog (k8s.io/klog/v2)</summary>

###
[`v2.130.0`](https://github.com/kubernetes/klog/releases/tag/v2.130.0):
Prepare klog release for Kubernetes v1.31 (Take 1)

[Compare
Source](https://github.com/kubernetes/klog/compare/v2.120.1...v2.130.0)

#### What's Changed

- chore(\*): fix spelling of Intel Corporation by
[@&#8203;jsoref](https://github.com/jsoref) in
[kubernetes/klog#399
- build: fix some linter warnings by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#402
- examples: fix linter warning by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#406
- Do not acquire lock for file.Sync() fsync call by
[@&#8203;1978629634](https://github.com/1978629634) in
[kubernetes/klog#404
- ktesting: tone down warning about leaked test goroutine by
[@&#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#401

#### New Contributors

- [@&#8203;jsoref](https://github.com/jsoref) made their first
contribution in
[kubernetes/klog#399
- [@&#8203;1978629634](https://github.com/1978629634) made their first
contribution in
[kubernetes/klog#404

**Full Changelog**:
kubernetes/klog@v2.120.1...v2.130.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | `v2.120.1` ->
`v2.130.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.120.1/v2.130.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>kubernetes/klog (k8s.io/klog/v2)</summary>

###
[`v2.130.0`](https://github.com/kubernetes/klog/releases/tag/v2.130.0):
Prepare klog release for Kubernetes v1.31 (Take 1)

[Compare
Source](https://github.com/kubernetes/klog/compare/v2.120.1...v2.130.0)

#### What's Changed

- chore(\*): fix spelling of Intel Corporation by
[@&open-telemetry#8203;jsoref](https://github.com/jsoref) in
[kubernetes/klog#399
- build: fix some linter warnings by
[@&open-telemetry#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#402
- examples: fix linter warning by
[@&open-telemetry#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#406
- Do not acquire lock for file.Sync() fsync call by
[@&open-telemetry#8203;1978629634](https://github.com/1978629634) in
[kubernetes/klog#404
- ktesting: tone down warning about leaked test goroutine by
[@&open-telemetry#8203;pohly](https://github.com/pohly) in
[kubernetes/klog#401

#### New Contributors

- [@&open-telemetry#8203;jsoref](https://github.com/jsoref) made their first
contribution in
[kubernetes/klog#399
- [@&open-telemetry#8203;1978629634](https://github.com/1978629634) made their first
contribution in
[kubernetes/klog#404

**Full Changelog**:
kubernetes/klog@v2.120.1...v2.130.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants