Skip to content

chore: remove redundant profile.apisix_home assignment in start#12529

Merged
SkyeYoung merged 1 commit into
apache:masterfrom
flearc:duplicate-assignment
Aug 18, 2025
Merged

chore: remove redundant profile.apisix_home assignment in start#12529
SkyeYoung merged 1 commit into
apache:masterfrom
flearc:duplicate-assignment

Conversation

@flearc

@flearc flearc commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Description

Which issue(s) this PR fixes:

Fixes #12528

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. chore labels Aug 18, 2025
@SkyeYoung SkyeYoung changed the title chore: remove redundant profile.apisix_home assignment in apisix start command chore: remove redundant profile.apisix_home assignment in start Aug 18, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes redundant code that sets profile.apisix_home in the start function, since the same assignment is already performed in the cleanup function that is called immediately before it.

  • Removes duplicate profile.apisix_home assignment from the start function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SkyeYoung
SkyeYoung requested a review from nic-6443 August 18, 2025 03:31
@SkyeYoung
SkyeYoung merged commit 15960ee into apache:master Aug 18, 2025
24 checks passed
@flearc
flearc deleted the duplicate-assignment branch August 18, 2025 07:37
jizhuozhi pushed a commit to jizhuozhi/apisix that referenced this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible redundant assignment of profile.apisix_home in start command

5 participants