mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 09:49:40 +02:00
refactor(api): fix lint issues (#2760)
This commit is contained in:
parent
9967ae5994
commit
ce6cb837f9
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ func (manager *Manager) CreateExtensionProxy(extensionID portainer.ExtensionID)
|
||||||
return proxy, nil
|
return proxy, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetExtensionURL retrieves the URL of an extension running locally based on the extension port table
|
||||||
func (manager *Manager) GetExtensionURL(extensionID portainer.ExtensionID) string {
|
func (manager *Manager) GetExtensionURL(extensionID portainer.ExtensionID) string {
|
||||||
return "http://localhost:" + extensionPorts[extensionID]
|
return "http://localhost:" + extensionPorts[extensionID]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue