metrics: rename functions

This commit is contained in:
Girish Ramakrishnan
2025-07-01 09:46:24 +02:00
parent 36993703f6
commit 6b8b69d324
5 changed files with 11 additions and 11 deletions

View File

@@ -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);