Skip to content

Conversation

@jlewi
Copy link
Contributor

@jlewi jlewi commented Jan 17, 2018


This change is Reviewable

@jlewi jlewi mentioned this pull request Jan 17, 2018
@jlewi
Copy link
Contributor Author

jlewi commented Jan 17, 2018

Someone want to take a look at this before I commit? This should allow us to fully trust test results so we can reenable the releaser.

/cc @gaocegege @DjangoPeng @ScorpioCPH

parser_finished.set_defaults(func=finalize_prow_job)

# parse the args and call whatever function was selected
args = parser.parse_args()
Copy link
Member

Choose a reason for hiding this comment

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

How about replacing it with args, _ = parser.parse_known_args() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why would we want to silently ignore unknown arguments? There should be no unknown arguments.

Copy link
Member

Choose a reason for hiding this comment

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

It's also make sense to set a strict parser as the current design.

Copy link
Member

@DjangoPeng DjangoPeng left a comment

Choose a reason for hiding this comment

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

LGTM

parser_finished.set_defaults(func=finalize_prow_job)

# parse the args and call whatever function was selected
args = parser.parse_args()
Copy link
Member

Choose a reason for hiding this comment

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

It's also make sense to set a strict parser as the current design.

@jlewi
Copy link
Contributor Author

jlewi commented Jan 17, 2018

Travis seems to be having problems running the build but since our presubmits are passing I'm going to merge this.

@jlewi jlewi merged commit 04425d9 into kubeflow:master Jan 17, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 31.439% when pulling 345d70f on jlewi:report_errors into e4e12fe on tensorflow:master.

sutaakar pushed a commit to sutaakar/training-operator that referenced this pull request Jul 22, 2025
…ubeflow#319)

Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Co-authored-by: konflux-internal-p02[bot] <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
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