diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-16 17:17:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 17:17:08 -0400 |
commit | 6cf13c3dbf05a263c08c3f1b1a10cfed722e5929 (patch) | |
tree | 3f235e0cfcf8ffb9082855eb03d1828f71940047 /pkg/domain/entities/engine_container.go | |
parent | 0acf540304b7d2f57357522e4fb47914b0b31a70 (diff) | |
parent | 5c7935057c34cbdb27be3a584d35bff3fcd81202 (diff) | |
download | podman-6cf13c3dbf05a263c08c3f1b1a10cfed722e5929.tar.gz podman-6cf13c3dbf05a263c08c3f1b1a10cfed722e5929.tar.bz2 podman-6cf13c3dbf05a263c08c3f1b1a10cfed722e5929.zip |
Merge pull request #11602 from Luap99/netname
Do not allow network modes to be used as network names
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r-- | pkg/domain/entities/engine_container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go index b916d6fc6..383e42098 100644 --- a/pkg/domain/entities/engine_container.go +++ b/pkg/domain/entities/engine_container.go @@ -59,7 +59,7 @@ type ContainerEngine interface { HealthCheckRun(ctx context.Context, nameOrID string, options HealthCheckOptions) (*define.HealthCheckResults, error) Info(ctx context.Context) (*define.Info, error) NetworkConnect(ctx context.Context, networkname string, options NetworkConnectOptions) error - NetworkCreate(ctx context.Context, network types.Network) (*NetworkCreateReport, error) + NetworkCreate(ctx context.Context, network types.Network) (*types.Network, error) NetworkDisconnect(ctx context.Context, networkname string, options NetworkDisconnectOptions) error NetworkExists(ctx context.Context, networkname string) (*BoolReport, error) NetworkInspect(ctx context.Context, namesOrIds []string, options InspectOptions) ([]types.Network, []error, error) |