Skip to content

Commit

Permalink
Merge pull request #153 from CiscoCloud/refactoring
Browse files Browse the repository at this point in the history
Fix issue with lost-in-space parsed arguments
  • Loading branch information
langston-barrett committed May 30, 2016
2 parents dc97730 + 51f1069 commit f2c1ed9
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 f2c1ed9

Please sign in to comment.