Skip to content

fix perfsprint linter error#1438

Merged
yaron2 merged 7 commits into
dapr:masterfrom
KentHsu:fix-perfsprint-linter-error
Jul 2, 2025
Merged

fix perfsprint linter error#1438
yaron2 merged 7 commits into
dapr:masterfrom
KentHsu:fix-perfsprint-linter-error

Conversation

@KentHsu

@KentHsu KentHsu commented Jul 24, 2024

Copy link
Copy Markdown
Contributor

Description

Removed //nolint: perfsprint directive and fixed all perfsprint linter error

Issue reference

Please reference the issue this PR will close: #1374

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@KentHsu
KentHsu requested review from a team as code owners July 24, 2024 03:16
@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Sep 13, 2024
@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot closed this Sep 20, 2024
@antontroshin antontroshin reopened this Feb 18, 2025
@dapr-bot dapr-bot removed the stale label Feb 18, 2025
Comment thread cmd/dashboard.go Outdated

// url for dashboard after port forwarding.
webURL := fmt.Sprintf("http://%s", net.JoinHostPort(dashboardHost, fmt.Sprint(portForward.LocalPort))) //nolint: perfsprint
webURL := fmt.Sprintf("http://%s", net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort)))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
webURL := fmt.Sprintf("http://%s", net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort)))
webURL := "http://" + net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort))

@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Mar 28, 2025
@dapr-bot

dapr-bot commented Apr 4, 2025

Copy link
Copy Markdown
Collaborator

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot closed this Apr 4, 2025
@yaron2 yaron2 reopened this Apr 4, 2025
@dapr-bot dapr-bot removed the stale label Apr 4, 2025
@dapr-bot

dapr-bot commented May 4, 2025

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label May 4, 2025
@antontroshin

Copy link
Copy Markdown
Contributor

@KentHsu could you please apply the suggested change? It'll fix the lint error. TY!

@dapr-bot dapr-bot removed the stale label May 8, 2025
@KentHsu

KentHsu commented May 13, 2025

Copy link
Copy Markdown
Contributor Author

Hi @antontroshin , it's updated based on your suggestion. Please let me know if there's other issues blocking this PR. Thank you.

@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Jun 12, 2025
@dapr-bot dapr-bot removed the stale label Jun 12, 2025
@yaron2 yaron2 closed this Jun 12, 2025
@yaron2 yaron2 reopened this Jun 12, 2025
@yaron2
yaron2 merged commit 22536a9 into dapr:master Jul 2, 2025
42 of 45 checks passed
@yaron2 yaron2 added this to the v1.16 milestone Jul 2, 2025
@mikeee mikeee removed this from the v1.16 milestone Aug 27, 2025
@marcduiker

Copy link
Copy Markdown
Contributor

@holopin-bot @KentHsu Here's a digital badge as a small token of appreciation.

@holopin-bot

holopin-bot Bot commented Nov 18, 2025

Copy link
Copy Markdown

Congratulations @KentHsu, the maintainer of this repository has issued you a badge! Here it is: https://holopin.io/claim/cmi4f0f7b000ejw04egffqlrg

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

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.

Fix perfsprint linter errors

6 participants