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

tensorflow: Support old versions of estimator #809

Merged
merged 3 commits into from
Aug 30, 2018
Merged

tensorflow: Support old versions of estimator #809

merged 3 commits into from
Aug 30, 2018

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented Aug 30, 2018

Support Master spec similar to Chief

Close #794

/assign @johnugeorge @jlewi

Signed-off-by: Ce Gao gaoce@caicloud.io


This change is Reviewable

Support Master spec similar to Chief

Signed-off-by: Ce Gao <gaoce@caicloud.io>
@@ -53,8 +53,8 @@ func updateStatusSingle(tfjob *tfv1alpha2.TFJob, rtype tfv1alpha2.TFReplicaType,
tfjob.Status.StartTime = &now
}

if ContainChiefSpec(tfjob) {
if rtype == tfv1alpha2.TFReplicaTypeChief {
if ContainChieforMasterSpec(tfjob) {
Copy link
Member

Choose a reason for hiding this comment

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

May be add a comment saying that it is added for backwards compatibility?

@TravisBuddy
Copy link

Travis tests have failed

Hey @gaocegege,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

2nd Build

gometalinter --config=linter_config.json --vendor ./...
pkg/apis/tensorflow/validation/validation.go:30:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)

3rd Build

gometalinter --config=linter_config.json --vendor ./...
pkg/apis/tensorflow/validation/validation.go:30:2:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (gosimple)

travis_time:end:0ab73da6:start=1535605872448367418,finish=1535605997712304348,duration=125263936930

@coveralls
Copy link

coveralls commented Aug 30, 2018

Coverage Status

Coverage increased (+0.3%) to 58.25% when pulling 2ae580c on gaocegege:typemaster into f78e619 on kubeflow:master.

@johnugeorge
Copy link
Member

Related to issue kubeflow/kubeflow#1442

Signed-off-by: Ce Gao <gaoce@caicloud.io>
Signed-off-by: Ce Gao <gaoce@caicloud.io>
@johnugeorge
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnugeorge

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

@k8s-ci-robot k8s-ci-robot merged commit 6815986 into kubeflow:master Aug 30, 2018
@jlewi jlewi mentioned this pull request Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants