cormacrelf / terraform-provider-zerotier

Create, modify and destroy ZeroTier networks and members through Terraform.
128 stars 25 forks source link

Apply gofmt -s on the files #14

Open bltavares opened 5 years ago

bltavares commented 5 years ago

This commit applies gofmt -s which changes the code with a simplified version if the formatter finds it is safe to apply.

The make dev command will apply the simplfied rewriting automatically as well.

An extra change added was to move the assignment_pool resource schema definition to a function, similar to how the route schema was defined, to keep the consistency on the file.

Built on top of #13 (I could rebase when it lands) Diff with only the import changes

bltavares commented 5 years ago

I will not be able to properly rebase this one until the others have landed, as this PR cleanup things created on the other PRs.