Fix clone srvc->cont

This commit is contained in:
Westly Wright 2017-10-03 16:26:17 -07:00
parent 2e5fd911ff
commit cbbbb38a09
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
2 changed files with 1 additions and 5 deletions

View File

@ -68,10 +68,7 @@ export default Ember.Component.extend(ManageLabels, {
}
if ( mode === 'container') {
this.setProperties({
isServices: false,
initialScale: 1,
});
this.set('isService', false);
} else {
if (this.get('_previousService')) {
this.setProperties({

View File

@ -272,7 +272,6 @@ export default Ember.Component.extend(NewOrEdit, {
let lc = this.get('launchConfig').serialize();
lc.type = 'container';
pr = this.get('store').createRecord(lc);
pr.set('count', this.get('scale'));
nameResource = pr;
}