Skip to content

Commit

Permalink
use get() to access envars in config
Browse files Browse the repository at this point in the history
  • Loading branch information
gl2748 committed May 25, 2018
1 parent 0b466af commit e54ae4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ app.use(function*(next) {
this.status = 200;
this.body = {
status: 'ok',
docker_tag: config.docker_tag,
source_commit: config.source_commit,
docker_tag: config.get('docker_tag'),
source_commit: config.get('source_commit'),
};
return;
}
Expand Down

0 comments on commit e54ae4e

Please sign in to comment.