Skip to content

Conversation

@MarkDeMaria
Copy link
Contributor

Make create/createFromImage promise compliant #799

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

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

Can you update the appliedclusterresourcequotas request too?

if ($filter('hashSize')(limitRanges) !== 0) {
DataService.list("limitranges", context).then(function(resp) {
$scope.limitRanges = resp.by("metadata.name");
if ($filter('hashSize')(resp) !== 0) {
Copy link
Member

@spadgett spadgett Mar 17, 2017

Choose a reason for hiding this comment

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

This was existing code, but we shouldn't check hashSize against the response itself. Let's change this to

if (!_.isEmpty($scope.limitRanges)) { ...

@MarkDeMaria MarkDeMaria force-pushed the promisesCreateFromImage branch from cf5ae70 to 05f88d4 Compare March 17, 2017 20:19
@MarkDeMaria
Copy link
Contributor Author

@spadgett Oops! Slipped by. Changes made.

@MarkDeMaria MarkDeMaria force-pushed the promisesCreateFromImage branch from 05f88d4 to 7c5c76f Compare March 17, 2017 20:23
@MarkDeMaria MarkDeMaria force-pushed the promisesCreateFromImage branch from 7c5c76f to f3eea74 Compare March 17, 2017 20:25
@spadgett
Copy link
Member

[merge]

@spadgett
Copy link
Member

Jasmine timeout

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to f3eea74

@openshift-bot
Copy link

openshift-bot commented Mar 19, 2017

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

@openshift-bot openshift-bot merged commit d87ad15 into openshift:master Mar 19, 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