From f8811a98029ac6ee8185f4ccb49d1eba79ebbad0 Mon Sep 17 00:00:00 2001 From: Adam Schepis Date: Fri, 26 Apr 2024 14:19:17 -0400 Subject: [PATCH] Fix license header formatting to be consistent --- provider/cmd/pulumi-resource-chronosphere/generate.go | 1 + provider/cmd/pulumi-resource-chronosphere/main.go | 1 + provider/cmd/pulumi-tfgen-chronosphere/main.go | 3 ++- provider/pkg/version/version.go | 3 ++- provider/resources.go | 3 ++- provider/shim/shim.go | 3 ++- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/provider/cmd/pulumi-resource-chronosphere/generate.go b/provider/cmd/pulumi-resource-chronosphere/generate.go index 4af0b7f3..a21af72f 100644 --- a/provider/cmd/pulumi-resource-chronosphere/generate.go +++ b/provider/cmd/pulumi-resource-chronosphere/generate.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //go:build ignore package main diff --git a/provider/cmd/pulumi-resource-chronosphere/main.go b/provider/cmd/pulumi-resource-chronosphere/main.go index a9a47b45..39f73434 100644 --- a/provider/cmd/pulumi-resource-chronosphere/main.go +++ b/provider/cmd/pulumi-resource-chronosphere/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //go:generate go run ./generate.go package main diff --git a/provider/cmd/pulumi-tfgen-chronosphere/main.go b/provider/cmd/pulumi-tfgen-chronosphere/main.go index d4bd239b..6cf4235d 100644 --- a/provider/cmd/pulumi-tfgen-chronosphere/main.go +++ b/provider/cmd/pulumi-tfgen-chronosphere/main.go @@ -4,13 +4,14 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/provider/pkg/version/version.go b/provider/pkg/version/version.go index 435b2424..199d96f4 100644 --- a/provider/pkg/version/version.go +++ b/provider/pkg/version/version.go @@ -4,13 +4,14 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package version // Version is initialized by the Go linker to contain the semver of this build. diff --git a/provider/resources.go b/provider/resources.go index 266f23dd..0d3b848e 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -4,13 +4,14 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package provider import ( diff --git a/provider/shim/shim.go b/provider/shim/shim.go index 5e71f6db..535ba18b 100644 --- a/provider/shim/shim.go +++ b/provider/shim/shim.go @@ -4,13 +4,14 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package shim import (