metrics: rename functions
This commit is contained in:
@@ -18,7 +18,7 @@ exports = module.exports = {
|
||||
inspect,
|
||||
getContainerIp,
|
||||
getEvents,
|
||||
stats,
|
||||
getStats,
|
||||
|
||||
update,
|
||||
|
||||
@@ -660,7 +660,7 @@ async function getEvents(options) {
|
||||
return stream;
|
||||
}
|
||||
|
||||
async function stats(containerId) {
|
||||
async function getStats(containerId) {
|
||||
assert.strictEqual(typeof containerId, 'string');
|
||||
|
||||
const container = gConnection.getContainer(containerId);
|
||||
|
||||
Reference in New Issue
Block a user