Skip to content

Commit

Permalink
chore: fix lint style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nehemming committed Aug 23, 2021
1 parent 406eb24 commit 371a557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pkg/rocket/mission.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ type (
// The list is checked prior too processing the activities own set of param definitions.
MustHaveParams []string

// Exports is a list of exported variables from on task context to another
// Exports is a list of exported variables from on task context to another.
Exports []string

// Stages is a slice of stages.
Stages []Stage

// Tasks is a slice of tasks
// Tasks is a slice of tasks.
Tasks []Task

// Params is a slice of params
// Params is a slice of params.
Params []Param

// Param is an expandible parameter.
Expand Down
3 changes: 1 addition & 2 deletions pkg/rocket/missioncontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type (
// ExecuteFunc is the function signature of an activity that can be executed.
ExecuteFunc = loggee.ActivityFunc

// Stage map is a map of stage names to stages
// StageMap is a map of stage names to stages.
StageMap map[string]Stage

// TaskMap maps the task name to the task.
Expand Down Expand Up @@ -837,7 +837,6 @@ func runOp(ctx context.Context, op *operation) error {
if op.try {
loggee.Warnf("try failed: %s", errors.Wrap(err, op.description))
} else {

if op.onFail != nil {
runOnFail(ctx, op.onFail, op.description)
}
Expand Down

0 comments on commit 371a557

Please sign in to comment.