From 1e61f3a2443c29192d5d26bfcfe42758b96c1485 Mon Sep 17 00:00:00 2001 From: Rinat Khaziev Date: Tue, 14 May 2024 15:31:24 -0500 Subject: [PATCH] Remove 'version' from ComposeService. 'version' key in Compose was deprecated for a while, but now it also throws an annoying WARN[0000] version is obsolete --- lib/factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/factory.js b/lib/factory.js index 9bc3dfec4..9b053608d 100644 --- a/lib/factory.js +++ b/lib/factory.js @@ -13,7 +13,7 @@ const dockerCompose = class ComposeService { constructor(id, info = {}, ...sources) { this.id = id; this.info = info; - this.data = _(sources).map(source => _.merge({}, source, {version: '3.6'})).value(); + this.data = _(sources).map(source => _.merge({}, source, {})).value(); }; };