Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Removing error return to allow multiple failures
Browse files Browse the repository at this point in the history
  • Loading branch information
emcniece committed Mar 3, 2017
1 parent eb81c39 commit 0606aef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAINTAINER <[email protected]>

RUN apk add --no-cache ca-certificates

ENV RANCHER_GEN_RELEASE v0.4.0
ENV RANCHER_GEN_RELEASE v0.4.1

ADD https://github.com/janeczku/go-rancher-gen/releases/download/${RANCHER_GEN_RELEASE}/rancher-gen-linux-amd64.tar.gz /tmp/rancher-gen.tar.gz
RUN tar -zxvf /tmp/rancher-gen.tar.gz -C /usr/local/bin \
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.4.0
v0.4.1
4 changes: 2 additions & 2 deletions runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ func (r *runner) execLabelGroup(action string, command string, label string, ver

if action == "check" {
if err := check(pCommand, filePath); err != nil {
return fmt.Errorf("Check command failed: %v", err)
fmt.Errorf("Check command failed: %v", err)
}
} else if action == "notify"{
if err := notify(pCommand, verbose); err != nil {
return fmt.Errorf("Notify command failed: %v", err)
fmt.Errorf("Notify command failed: %v", err)
}
}
}
Expand Down

0 comments on commit 0606aef

Please sign in to comment.