rackspace / gophercloud

A Go SDK for OpenStack. IN FEATURE FREEZE. See Issue #592
http://gophercloud.io
Other
456 stars 185 forks source link

Issue with vendoring gophercloud package #635

Open jensskott opened 6 years ago

jensskott commented 6 years ago

When using glide to vendor the packages into my project i encounter this issue when building the application.

# github.com/jensskott/swarmify/ovh
ovh/infra.go:19: cannot use client (type *"github.com/jensskott/swarmify/vendor/github.com/rackspace/gophercloud".ServiceClient) as type *"github.com/rackspace/gophercloud".ServiceClient in argument to secgroups.Create
ovh/infra.go:32: cannot use client (type *"github.com/jensskott/swarmify/vendor/github.com/rackspace/gophercloud".ServiceClient) as type *"github.com/rackspace/gophercloud".ServiceClient in argument to secgroups.CreateRule

If i remove the vendor folder and reruns the build i do not get this error.