Skip to content

Conversation

@MarkDeMaria
Copy link
Contributor

Part of #799 - Project Creation

@benjaminapetersen @jwforres

});
DataService
.list("imagestreams", {namespace: "openshift"}, null, {
errorNotification: false
Copy link
Member

@spadgett spadgett Feb 24, 2017

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.

@MarkDeMaria MarkDeMaria force-pushed the promisesCreate branch 3 times, most recently from 6b2b223 to c0666a0 Compare February 27, 2017 15:20
@MarkDeMaria
Copy link
Contributor Author

@spadgett Changes made

})
.then(function(resp) {
$scope.openshiftImageStreams = resp.by("metadata.name");
});
Copy link
Member

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.

@MarkDeMaria
Copy link
Contributor Author

@spadgett Extra arguments removed!

@spadgett
Copy link
Member

[merge]

@spadgett spadgett changed the title Promise-Compliance - Project Creation Promise-Compliance - create.js Feb 27, 2017
@openshift-bot
Copy link

Evaluated for origin web console merge up to 59398d7

@openshift-bot
Copy link

openshift-bot commented Feb 27, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1117/) (Base Commit: c38d9de)

@openshift-bot openshift-bot merged commit a941af6 into openshift:master Feb 27, 2017
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