feat: [AH-744]: refactor GetUIBaseURL (#3183)

* feat: [AH-744]: refactor GetUIBaseURL
BT-10437
Tudor Macari 2024-12-21 14:26:18 +00:00 committed by Harness
parent d29e988d86
commit a91783b6bc
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ type Provider interface {
RegistryURL(ctx context.Context, params ...string) string
GetUIBaseURL(ctx context.Context) string
GetUIBaseURL(ctx context.Context, params ...string) string
}
// Provider provides the URLs of the Harness system.
@ -255,7 +255,7 @@ func (p *provider) RegistryURL(_ context.Context, params ...string) string {
return strings.TrimRight(u.String(), "/")
}
func (p *provider) GetUIBaseURL(_ context.Context) string {
func (p *provider) GetUIBaseURL(_ context.Context, _ ...string) string {
return p.uiURL.String()
}