mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
vendor: update go.podman.io/{common,image,storage}
Update to the latest tags to make sure they all work correctly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
6
vendor/go.podman.io/common/libnetwork/internal/util/parse.go
generated
vendored
6
vendor/go.podman.io/common/libnetwork/internal/util/parse.go
generated
vendored
@@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// ParseMTU parses the mtu option
|
||||
// ParseMTU parses the mtu option.
|
||||
func ParseMTU(mtu string) (int, error) {
|
||||
if mtu == "" {
|
||||
return 0, nil // default
|
||||
@@ -20,7 +20,7 @@ func ParseMTU(mtu string) (int, error) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// ParseVlan parses the vlan option
|
||||
// ParseVlan parses the vlan option.
|
||||
func ParseVlan(vlan string) (int, error) {
|
||||
if vlan == "" {
|
||||
return 0, nil // default
|
||||
@@ -35,7 +35,7 @@ func ParseVlan(vlan string) (int, error) {
|
||||
return v, nil
|
||||
}
|
||||
|
||||
// ParseIsolate parses the isolate option
|
||||
// ParseIsolate parses the isolate option.
|
||||
func ParseIsolate(isolate string) (string, error) {
|
||||
switch isolate {
|
||||
case "":
|
||||
|
||||
Reference in New Issue
Block a user