Skip to content

Commit

Permalink
Fix issue with lost-in-space parsed arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
avnik committed May 30, 2016
1 parent dc97730 commit 51f1069
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion checklists/checklists.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ func (cw *CheckWrapper) ID() string {
}

func (cw *CheckWrapper) New(parameters []string) (chkutil.Check, error) {
return cw.wrapped.New(parameters)
var e error
cw.wrapped, e = cw.wrapped.New(parameters)
return cw.wrapped, e
}

func (cw *CheckWrapper) Status() (code int, msg string, err error) {
Expand Down

0 comments on commit 51f1069

Please sign in to comment.