summaryrefslogtreecommitdiff
path: root/libpod/network/internal/util/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/network/internal/util/create.go')
-rw-r--r--libpod/network/internal/util/create.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/network/internal/util/create.go b/libpod/network/internal/util/create.go
index ca716f913..cecfd7133 100644
--- a/libpod/network/internal/util/create.go
+++ b/libpod/network/internal/util/create.go
@@ -7,12 +7,6 @@ import (
)
func CommonNetworkCreate(n NetUtil, network *types.Network) error {
- // FIXME: Should we use a different type for network create without the ID field?
- // the caller is not allowed to set a specific ID
- if network.ID != "" {
- return errors.Wrap(define.ErrInvalidArg, "ID can not be set for network create")
- }
-
if network.Labels == nil {
network.Labels = map[string]string{}
}