Skip to content

Commit

Permalink
chore: fix hound warnings
Browse files Browse the repository at this point in the history
Signed-off-by: James Strachan <james.strachan@gmail.com>
  • Loading branch information
jstrachan authored and jenkins-x-bot committed Jan 9, 2020
1 parent 580afb7 commit d8d557a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/create/create_quickstart.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (o *CreateQuickstartOptions) Run() error {
return o.CreateQuickStart(q)
}

// CreateQuickStart helper method to create a quickstart from a quickstart resource
func (o *CreateQuickstartOptions) CreateQuickStart(q *quickstarts.QuickstartForm) error {
if q == nil {
return fmt.Errorf("no quickstart chosen")
Expand Down
1 change: 1 addition & 0 deletions pkg/cmd/importcmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,7 @@ func (options *ImportOptions) DefaultsFromTeamSettings() error {
return options.DefaultValuesFromTeamSettings(settings)
}

// DefaultValuesFromTeamSettings defaults the repository options from the given team settings
func (options *ImportOptions) DefaultValuesFromTeamSettings(settings *v1.TeamSettings) error {
if options.DeployKind == "" {
options.DeployKind = settings.DeployKind
Expand Down

0 comments on commit d8d557a

Please sign in to comment.