File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) {
You can’t perform that action at this time.
0 commit comments