Skip to content

Commit

Permalink
Merge pull request #548 from Venafi/lint-issue
Browse files Browse the repository at this point in the history
fix: fixes golangci-lint update issue
  • Loading branch information
luispresuelVenafi authored Feb 19, 2025
2 parents c82ee4a + 314cc42 commit 3fb2f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/playbook/app/domain/certificateTask.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (task CertificateTask) IsValid() (bool, error) {
}

// This task has no installations defined
if task.Installations == nil || len(task.Installations) < 1 {
if len(task.Installations) < 1 {
rValid = false
rErr = errors.Join(rErr, fmt.Errorf("\t\t%w", ErrNoInstallations))
}
Expand Down

0 comments on commit 3fb2f36

Please sign in to comment.