mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 04:15:28 +02:00
feat(global): add container exec support
This commit is contained in:
parent
b0ebbdf68c
commit
5878eed7ec
16 changed files with 438 additions and 75 deletions
|
@ -20,6 +20,6 @@ func newConfig(swarm bool, labels pairList) Config {
|
|||
}
|
||||
|
||||
// configurationHandler defines a handler function used to encode the configuration in JSON
|
||||
func configurationHandler(w http.ResponseWriter, r *http.Request, c Config) {
|
||||
json.NewEncoder(w).Encode(c)
|
||||
func configurationHandler(w http.ResponseWriter, r *http.Request, c *Config) {
|
||||
json.NewEncoder(w).Encode(*c)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue