Skip to content

Commit 76e0826

Browse files
authored
style: do not shorten simple Fleet URL
1 parent fd2f41f commit 76e0826

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

internal/install/execution/platform_link_generator.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,7 @@ func (g *PlatformLinkGenerator) generateLoggingLauncherParams(entityGUID string)
165165
}
166166

167167
func (g *PlatformLinkGenerator) generateFleetLink(_ string) string {
168-
longURL := fmt.Sprintf("https://%s/fleet)",
169-
nrPlatformHostname(),
170-
)
171-
172-
shortURL, err := g.generateShortNewRelicURL(longURL)
173-
if err != nil {
174-
return longURL
175-
}
176-
177-
return shortURL
168+
return fmt.Sprintf("https://%s/fleet)", nrPlatformHostname())
178169
}
179170

180171
// The shortenURL function utilizes a New Relic service to convert

0 commit comments

Comments
 (0)