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

allow for blank ip addresses #316

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

duhruh
Copy link

@duhruh duhruh commented May 29, 2021

I found that in some CI systems they'll often do things like --ip=$SOME_IP in the case that $SOME_IP is blank or a blank string it would be helpful if we didn't fail out right away and allow for defaulting, this is somewhat similar to #84 and related to kubernetes/kubernetes#58686

@CLAassistant
Copy link

CLAassistant commented May 29, 2021

CLA assistant check
All committers have signed the CLA.

@therealmitchconnors therealmitchconnors merged commit d5e0c06 into spf13:master Jun 4, 2021
djdv pushed a commit to djdv/pflag that referenced this pull request Jul 5, 2022
algitbot pushed a commit to alpinelinux/build-server-status that referenced this pull request Jan 30, 2025
This MR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/pflag](https://github.com/spf13/pflag) | require | patch | `v1.0.5` -> `v1.0.6` |

---

### Release Notes

<details>
<summary>spf13/pflag (github.com/spf13/pflag)</summary>

### [`v1.0.6`](https://github.com/spf13/pflag/releases/tag/v1.0.6)

[Compare Source](spf13/pflag@v1.0.5...v1.0.6)

#### What's Changed

-   Add exported functions to preserve `pkg/flag` compatibility by [@&#8203;mckern](https://github.com/mckern) in spf13/pflag#220
-   remove dead code for checking error nil by [@&#8203;yashbhutwala](https://github.com/yashbhutwala) in spf13/pflag#282
-   Add IPNetSlice and unit tests by [@&#8203;rpothier](https://github.com/rpothier) in spf13/pflag#170
-   allow for blank ip addresses by [@&#8203;duhruh](https://github.com/duhruh) in spf13/pflag#316
-   add github actions by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in spf13/pflag#419

#### New Contributors

-   [@&#8203;mckern](https://github.com/mckern) made their first contribution in spf13/pflag#220
-   [@&#8203;yashbhutwala](https://github.com/yashbhutwala) made their first contribution in spf13/pflag#282
-   [@&#8203;rpothier](https://github.com/rpothier) made their first contribution in spf13/pflag#170
-   [@&#8203;duhruh](https://github.com/duhruh) made their first contribution in spf13/pflag#316
-   [@&#8203;sagikazarmark](https://github.com/sagikazarmark) made their first contribution in spf13/pflag#419

**Full Changelog**: spf13/pflag@v1.0.5...v1.0.6

</details>

---

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

---

&nbsp;
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDYuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

See merge request alpine/infra/build-server-status!19
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.

3 participants