Skip to content

Commit

Permalink
fix: Debug log statements 2
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern committed Aug 7, 2024
1 parent e223b06 commit 9d741c1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/install/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ func fetchLicenseKey() *types.DetailError {

if utils.IsValidLicenseKeyFormat(licenseKey) {
return nil
}

if licenseKey != "" {
} else {
log.Debug("license key provided via NEW_RELIC_LICENSE_KEY is invalid")
}

Expand All @@ -200,9 +198,7 @@ func fetchLicenseKey() *types.DetailError {

if utils.IsValidLicenseKeyFormat(licenseKey) {
return nil
}

if licenseKey != "" {
} else {
log.Debug("license key provided by config is invalid")
}

Expand Down

0 comments on commit 9d741c1

Please sign in to comment.