Skip to content

Commit

Permalink
Remove 'version' from ComposeService. 'version' key in Compose was de…
Browse files Browse the repository at this point in the history
…precated for a while, but now it also throws an annoying WARN[0000] version is obsolete
  • Loading branch information
rinatkhaziev committed May 14, 2024
1 parent 33002e8 commit 1e61f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
};

Expand Down

0 comments on commit 1e61f3a

Please sign in to comment.