mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +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
|
@ -33,11 +33,11 @@ func main() {
|
|||
TLSKeyPath: *tlskey,
|
||||
}
|
||||
|
||||
configuration := &Config{
|
||||
settings := &Settings{
|
||||
Swarm: *swarm,
|
||||
HiddenLabels: *labels,
|
||||
}
|
||||
|
||||
api := newAPI(apiConfig)
|
||||
api.run(configuration)
|
||||
api.run(settings)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue