-
Couldn't load subscription status.
- Fork 231
Promise-Compliance - create.js #1300
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
Conversation
app/scripts/controllers/create.js
Outdated
| }); | ||
| DataService | ||
| .list("imagestreams", {namespace: "openshift"}, null, { | ||
| errorNotification: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave errorNotification on. Otherwise you'll need to handle the errors here, but the default error notification from data service should be OK.
6b2b223 to
c0666a0
Compare
|
@spadgett Changes made |
| }) | ||
| .then(function(resp) { | ||
| $scope.openshiftImageStreams = resp.by("metadata.name"); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data.list("imagestreams", {namespace: "openshift"}).then(function(resp) {
$scope.openshiftImageStreams = resp.by("metadata.name");
});Leave the extra arguments off this request and all of the others below to take the defaults.
c0666a0 to
59398d7
Compare
|
@spadgett Extra arguments removed! |
|
[merge] |
|
Evaluated for origin web console merge up to 59398d7 |
|
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1117/) (Base Commit: c38d9de) |
Part of #799 - Project Creation
@benjaminapetersen @jwforres