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

Remove unnecessary quotes around port numbers #38

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Feb 8, 2022

🗣 Description

This pull request removes some unnecessary quotes around port numbers.

💭 Motivation and context

These quotes are unnecessary, and they lead to some needlessly complicated regex expressions in cisagov/pca-gophish-composition-packer. This is a sister PR of cisagov/pca-gophish-composition-packer#72, and the two PRs should be merged together.

🧪 Testing

All automated tests pass. I also built a new staging AMI with these changes, deployed it to env6-staging, and verified that it functions as expected.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@jsf9k jsf9k added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label Feb 8, 2022
@jsf9k jsf9k self-assigned this Feb 8, 2022
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1813221307

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 1746094054: 0.0%
Covered Lines: 0
Relevant Lines: 45

💛 - Coveralls

Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

Thanks for tidying this up! 👍

jsf9k added a commit to cisagov/pca-gophish-composition-packer that referenced this pull request Feb 8, 2022
These quotes are no longer necessary (or correct) after
cisagov/pca-gophish-composition#38.
@jsf9k jsf9k marked this pull request as ready for review February 8, 2022 18:10
@jsf9k jsf9k requested a review from felddy as a code owner February 8, 2022 18:10
@jsf9k jsf9k requested a review from mcdonnnj February 8, 2022 18:10
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

Makes sense but it's important to note the quotes are only unnecessary because we are using the long syntax for ports.

@jsf9k jsf9k merged commit dbc80a3 into develop Feb 8, 2022
@jsf9k jsf9k deleted the improvement/remove-unnecessary-quotes branch February 8, 2022 21:17
jsf9k added a commit to cisagov/pca-gophish-composition-packer that referenced this pull request Feb 8, 2022
…composition"

This reverts commit 913e9a7.

The changes in that non-default branch have been merged into the
default branch via cisagov/pca-gophish-composition#38.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants