mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
refactor(global): replace /config endpoint with /settings to avoid confusion (#98)
This commit is contained in:
parent
1aaa5acbef
commit
7801a91149
7 changed files with 26 additions and 34 deletions
|
@ -29,8 +29,8 @@ type (
|
|||
}
|
||||
)
|
||||
|
||||
func (a *api) run(configuration *Config) {
|
||||
handler := a.newHandler(configuration)
|
||||
func (a *api) run(settings *Settings) {
|
||||
handler := a.newHandler(settings)
|
||||
if err := http.ListenAndServe(a.bindAddress, handler); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue