Skip to content

Commit

Permalink
Remove group ID stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepruitt committed Jun 12, 2018
1 parent 6f5a80b commit a9b904b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ module.exports = (options = {}) => {
[
{ Name: 'WorkTopic', Value: cf.ref(prefixed('Topic')) },
{ Name: 'QueueUrl', Value: cf.ref(prefixed('Queue')) },
{ Name: 'Volumes', Value: mountPoints.map((m) => m.ContainerPath).join(',') },
{ Name: 'GroupID', Value: options.gid || '' }
{ Name: 'Volumes', Value: mountPoints.map((m) => m.ContainerPath).join(',') }
]
);
};
Expand Down
2 changes: 0 additions & 2 deletions lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class Worker {
// An arbitrarily chosen UID of a non-existent user
uid: 200
};
// If group id is specified, add the group id
if (process.env.GroupID) options.gid = Number(process.env.GroupID);

try {
const results = await child(this.command, options, this.logger);
Expand Down

0 comments on commit a9b904b

Please sign in to comment.