Skip to content

Commit

Permalink
fix(core): make resources paused if app is paused (#7699)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored and mergify[bot] committed Dec 12, 2019
1 parent 5b0f15f commit a9ce021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/managed/ManagedReader.ts
Expand Up @@ -23,7 +23,7 @@ export class ManagedReader {
.then((response: IManagedApplicationSummary) => {
// Individual resources don't update their status when an application is paused/resumed,
// so for now let's swap to a PAUSED status and keep things simpler in downstream components.
if (!response.applicationPaused) {
if (response.applicationPaused) {
response.resources.forEach(resource => (resource.status = ManagedResourceStatus.PAUSED));
}

Expand Down

0 comments on commit a9ce021

Please sign in to comment.