-
Notifications
You must be signed in to change notification settings - Fork 231
Use new ApplicationsService.getApplications utility #2034
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
f4b2e9a
to
a755f74
Compare
Removed WIP status |
Shouldn't need to sort here since the service does it
statefulSets = _.toArray(statefulSetData.by('metadata.name')); | ||
sortApplications(); | ||
ApplicationsService.getApplications(context).then(function(applications) { | ||
ctrl.applications = _.sortBy(applications, ['metadata.name', 'kind']); |
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.
ApplicationService sorts, so we shouldn't need to sort here.
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.
Fixed
statefulSets = _.toArray(statefulSetData.by('metadata.name')); | ||
sortApplications(); | ||
ApplicationsService.getApplications(context).then(function(applications) { | ||
ctrl.applications = _.sortBy(applications, ['metadata.name', 'kind']); |
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.
Shouldn't need to sort here.
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.
Fixed
a755f74
to
2e78f9f
Compare
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.
Thanks @jeff-phillips-18, nice to see so much duplicate code removed
[merge] |
Evaluated for origin web console merge up to 2e78f9f |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin_web_console/204/) (Base Commit: 3826410) (PR Branch Commit: 2e78f9f) |
No description provided.