Rename provider

This commit is contained in:
katexochen 2022-04-13 15:09:33 +02:00 committed by Paul Meyer
parent 4496755c64
commit dad9a97ee2
8 changed files with 12 additions and 12 deletions

View file

@ -35,7 +35,7 @@ func NewCreator(out io.Writer) *Creator {
}
// Create creates the handed amount of instances and all the needed resources.
func (c *Creator) Create(ctx context.Context, provider cloudprovider.CloudProvider, config *config.Config, name, insType string, coordCount, nodeCount int,
func (c *Creator) Create(ctx context.Context, provider cloudprovider.Provider, config *config.Config, name, insType string, coordCount, nodeCount int,
) (state.ConstellationState, error) {
switch provider {
case cloudprovider.GCP:

View file

@ -61,7 +61,7 @@ func TestCreator(t *testing.T) {
newGCPClientErr error
azureclient azureclient
newAzureClientErr error
provider cloudprovider.CloudProvider
provider cloudprovider.Provider
config *config.Config
wantState state.ConstellationState
wantErr bool