Removed unused docker machine stats method

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan 2015-10-22 14:51:44 -07:00
Родитель 32ae93dae7
Коммит 003d6719ec
1 изменённых файлов: 0 добавлений и 15 удалений

Просмотреть файл

@ -140,21 +140,6 @@ var DockerMachine = {
} }
}); });
}, },
stats: function (machineName = this.name()) {
this.state(machineName).then(state => {
if (state === 'Stopped') {
return Promise.resolve({state: state});
}
var memory = this.memory();
var disk = this.disk();
return Promise.all([memory, disk]).spread((memory, disk) => {
return Promise.resolve({
memory: memory,
disk: disk
});
});
});
},
dockerTerminal: function (cmd, machineName = this.name()) { dockerTerminal: function (cmd, machineName = this.name()) {
if(util.isWindows()) { if(util.isWindows()) {
cmd = cmd || ''; cmd = cmd || '';