mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
fix(api): fix default group for endpoint declared via -H
This commit is contained in:
parent
87fdd43afc
commit
be236f9d09
2 changed files with 5 additions and 4 deletions
|
@ -256,9 +256,10 @@ func main() {
|
|||
}
|
||||
if len(endpoints) == 0 {
|
||||
endpoint := &portainer.Endpoint{
|
||||
Name: "primary",
|
||||
URL: *flags.Endpoint,
|
||||
Type: portainer.DockerEnvironment,
|
||||
Name: "primary",
|
||||
URL: *flags.Endpoint,
|
||||
GroupID: portainer.EndpointGroupID(1),
|
||||
Type: portainer.DockerEnvironment,
|
||||
TLSConfig: portainer.TLSConfiguration{
|
||||
TLS: *flags.TLSVerify,
|
||||
TLSSkipVerify: *flags.TLSSkipVerify,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue