Skip to content

Commit

Permalink
chore: adapt to new deprecated methods (#560)
Browse files Browse the repository at this point in the history
* chore: replace network.WithUseTransient(deprecated) with network.WithAllowLimitedConn

Signed-off-by: mudler <[email protected]>

* chore(docs): remove deprecated description

Signed-off-by: mudler <[email protected]>

---------

Signed-off-by: mudler <[email protected]>
  • Loading branch information
mudler authored Aug 27, 2024
1 parent 78e0006 commit ce43170
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func Main() func(c *cli.Context) error {
ctx := context.Background()

if c.Bool("transient-conn") {
ctx = network.WithUseTransient(ctx, "accept")
ctx = network.WithAllowLimitedConn(ctx, "accept")
}

if c.Bool("api") {
Expand Down
2 changes: 0 additions & 2 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ id = "UA-00000000-0"
[languages]
[languages.en]
title = "EdgeVPN"
description = "Package manager built from containers"
languageName ="English"
# Weight used for sorting.
weight = 1
#[languages.it]
#title = "EdgeVPN"
#description = "Gestore di pacchetti basato su containers"
#languageName ="Italian"
#contentDir = "content/it"
#time_format_default = "02.01.2006"
Expand Down

0 comments on commit ce43170

Please sign in to comment.