refactor(api): fix lint issues (#2760)

pull/2769/head
linquize 2019-03-11 07:50:10 +08:00 committed by Anthony Lapenna
parent 9967ae5994
commit ce6cb837f9
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ func (manager *Manager) CreateExtensionProxy(extensionID portainer.ExtensionID)
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 {
return "http://localhost:" + extensionPorts[extensionID]
}