Skip to content

Commit

Permalink
[hotfix] missing from refactor to hide release info
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbtv committed Dec 11, 2014
1 parent cae04b7 commit 111571b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion library/Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = function(bowline,opts,log) {
this.jobExists(findslug,function(exists){
if (!exists) {
// Great, let's create this job.
bowline.release.getReleases({_id: releaseid},function(rels){
bowline.release.getReleases(true,{_id: releaseid},function(rels){

jobs[findslug] = new Builder(bowline,opts,log);
jobs[findslug].start(rels[0],function(){
Expand Down
4 changes: 2 additions & 2 deletions library/Messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function(bowline,opts,log) {

this.buildBegins = function(releaseid,callback) {

bowline.release.getReleases({ _id: releaseid },function(rels){
bowline.release.getReleases(true,{ _id: releaseid },function(rels){

var rel = rels[0];

Expand Down Expand Up @@ -32,7 +32,7 @@ module.exports = function(bowline,opts,log) {

this.buildComplete = function(releaseid,success,callback) {

bowline.release.getReleases({ _id: releaseid },function(rels){
bowline.release.getReleases(true,{ _id: releaseid },function(rels){

var rel = rels[0];

Expand Down
2 changes: 1 addition & 1 deletion library/Release.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module.exports = function(bowline,opts,log,mongoose) {
var searchpack = {hook_secret: hook_secret};
// console.log("!trace findByHookSecret searchpack: ",searchpack);

this.getReleases(searchpack,function(rels){
this.getReleases(true,searchpack,function(rels){

if (rels) {
callback(null,rels[0]);
Expand Down
2 changes: 1 addition & 1 deletion library/dockerRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ module.exports = function(bowline, opts, log) {
this.getTags = function(releaseid,callback) {

// First things first, we need the release docker tag.
bowline.release.getReleases({ _id: releaseid },function(rels){
bowline.release.getReleases(false,{ _id: releaseid },function(rels){

if (rels) {
var docker_tag = rels[0].docker_tag;
Expand Down

0 comments on commit 111571b

Please sign in to comment.