diff --git a/biz/docker/stack.go b/biz/docker/stack.go index cab02ee..2d87d00 100644 --- a/biz/docker/stack.go +++ b/biz/docker/stack.go @@ -253,8 +253,7 @@ func createNetworks(ctx context.Context, cli *client.Client, namespace compose.N existingNetworkMap[network.Name] = network } - for internalName, createOpts := range networks { - name := namespace.Scope(internalName) + for name, createOpts := range networks { if _, exists := existingNetworkMap[name]; exists { continue } @@ -265,7 +264,7 @@ func createNetworks(ctx context.Context, cli *client.Client, namespace compose.N mgr.Logger().Infof("Creating network %s", name) if _, err = cli.NetworkCreate(ctx, name, createOpts); err != nil { - return errors.Wrap(err, "failed to create network "+internalName) + return errors.Wrap(err, "failed to create network "+name) } } return nil diff --git a/main.go b/main.go index 0fb74e2..9f9eda9 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { misc.BindOptions() app.Name = "Swirl" - app.Version = "0.8.4" + app.Version = "0.8.5" app.Desc = "A web management UI for Docker, focused on swarm cluster" app.Action = func(ctx *app.Context) error { err := config.UnmarshalOption("swirl", &misc.Options)