Skip to content

Commit 22b1233

Browse files
author
Myztiq
committed
oldPlan -> oldPlanId
1 parent 6de0793 commit 22b1233

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/services/createAndBuildNewContainerService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ function createAndBuildNewContainer(
2828
// Save this in case it changes
2929
var cachedActiveAccount = $rootScope.dataApp.data.activeAccount;
3030
var instance = null;
31-
var oldPlan = null;
31+
var oldPlanId = null;
3232
return $q.all({
3333
masterInstances: fetchInstancesByPod(cachedActiveAccount.oauthName()),
3434
user: fetchUser(),
3535
plan: fetchPlan()
3636
})
3737
.then(function (response) {
38-
oldPlan = response.plan.next.id;
38+
oldPlanId = response.plan.next.id;
3939
var instanceOptions = {
4040
name: containerName,
4141
owner: {
@@ -70,7 +70,7 @@ function createAndBuildNewContainer(
7070
$rootScope.$broadcast('alert', {
7171
type: 'success',
7272
text: 'Container Created',
73-
newPlan: newPlan.next.id !== oldPlan
73+
newPlan: newPlan.next.id !== oldPlanId
7474
});
7575
})
7676
.then(function () {

0 commit comments

Comments
 (0)