Delete host instead of machine

This commit is contained in:
Vincent Fiduccia 2015-06-12 10:50:57 -07:00
parent e730ee12ac
commit 83ab669aba
1 changed files with 0 additions and 12 deletions

View File

@ -12,18 +12,6 @@ var HostController = Cattle.TransitioningResourceController.extend(DownloadMachi
return this.doAction('deactivate');
},
delete: function() {
var machine = this.get('machine');
if ( machine )
{
return machine.delete();
}
else
{
return this.delete();
}
},
purge: function() {
return this.doAction('purge');
},