Skip to content

fix perfsprint linter error #1438

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

Merged
merged 7 commits into from
Jul 2, 2025
Merged

Conversation

KentHsu
Copy link
Contributor

@KentHsu KentHsu commented Jul 24, 2024

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

Signed-off-by: KentHsu <chiahaohsu9@gmail.com>
@KentHsu KentHsu requested review from a team as code owners July 24, 2024 03:16
@dapr-bot
Copy link
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
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
cmd/dashboard.go Outdated
@@ -180,7 +181,7 @@ dapr dashboard -k -p 0
}()

// 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
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
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
Copy link
Collaborator

dapr-bot commented Apr 4, 2025

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
Copy link
Collaborator

dapr-bot commented May 4, 2025

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
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 and others added 2 commits May 13, 2025 22:07
@KentHsu
Copy link
Contributor Author

KentHsu commented May 13, 2025

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
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
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
4 participants