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

pkg/types/config: Prefix "pull secret" in validatePullSecret #357

Merged

Conversation

wking
Copy link
Member

@wking wking commented Sep 27, 2018

To match a lot of other error handling in this package and give more useful error messages (if we somehow get past the input validation in pkg/asset/installconfig).

/assign @crawford

Dunno if you're tearing this out with your overhaul, but here it is in case it doesn't collide ;).

@openshift-ci-robot openshift-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 27, 2018
@wking wking changed the title pkg/types/config: Prefix "pul secret" in validatePullSecret pkg/types/config: Prefix "pull secret" in validatePullSecret Sep 27, 2018
@wking wking force-pushed the prefix-pull-secret-error branch 2 times, most recently from 35d88e1 to 28ec9f7 Compare September 28, 2018 05:08
Copy link
Contributor

@crawford crawford left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 28, 2018
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@wking wking force-pushed the prefix-pull-secret-error branch from 28ec9f7 to 5f0e2a4 Compare September 28, 2018 21:50
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Sep 28, 2018
@wking
Copy link
Member Author

wking commented Sep 28, 2018

Rebased around 496c5ab (#342) with 28ec9f7 -> 13dfc10.

@wking wking force-pushed the prefix-pull-secret-error branch from 5f0e2a4 to 13dfc10 Compare September 28, 2018 21:54
@crawford
Copy link
Contributor

CI is failing with:

pkg/types/config/validate.go:255:23: undefined: PrefixError

@wking
Copy link
Member Author

wking commented Sep 29, 2018

Ahh, it's prefixError now. I'll fix later today.

@wking wking force-pushed the prefix-pull-secret-error branch from 13dfc10 to 3ab0f7d Compare September 29, 2018 20:12
To match a lot of other error handling in this package and give more
useful error messages (if we somehow get past the input validation in
pkg/asset/installconfig).
@wking
Copy link
Member Author

wking commented Sep 29, 2018

Green now ;)

@crawford
Copy link
Contributor

crawford commented Oct 1, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 1, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit af81270 into openshift:master Oct 1, 2018
@wking wking deleted the prefix-pull-secret-error branch October 22, 2018 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants