From eb3a7d0a7a8124509f9f8d856f5075e1b1bf9e37 Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Tue, 18 Jun 2019 14:39:42 -0700 Subject: [PATCH] Fix up some spelling errors @keen99 pointed out that newer versions of golangci-lint were failing due to some spelling errors. This change fixes them up. We have also now have a work item to track moving to a newer golangci-lint tool in the future. Fixes #2841 --- pkg/resource/plugin/provider_plugin_test.go | 2 +- sdk/nodejs/cmd/pulumi-language-nodejs/main.go | 2 +- sdk/proto/generate.sh | 2 +- tests/integration/integration_test.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/resource/plugin/provider_plugin_test.go b/pkg/resource/plugin/provider_plugin_test.go index 34d70efb2..b2ed5ac66 100644 --- a/pkg/resource/plugin/provider_plugin_test.go +++ b/pkg/resource/plugin/provider_plugin_test.go @@ -103,7 +103,7 @@ func TestAnnotateSecretsDifferentProperties(t *testing.T) { continue } - assert.Truef(t, reflect.DeepEqual(fromVal, val), "expected properites %s to be deeply equal", key) + assert.Truef(t, reflect.DeepEqual(fromVal, val), "expected properties %s to be deeply equal", key) } _, has := to["extraFromValue"] diff --git a/sdk/nodejs/cmd/pulumi-language-nodejs/main.go b/sdk/nodejs/cmd/pulumi-language-nodejs/main.go index 9272118bb..a6b59a6a6 100644 --- a/sdk/nodejs/cmd/pulumi-language-nodejs/main.go +++ b/sdk/nodejs/cmd/pulumi-language-nodejs/main.go @@ -84,7 +84,7 @@ func main() { args := flag.Args() logging.InitLogging(false, 0, false) - cmdutil.InitTracing("pulumi-language-nodejs", "pulumi-langauge-nodejs", tracing) + cmdutil.InitTracing("pulumi-language-nodejs", "pulumi-language-nodejs", tracing) nodePath, err := exec.LookPath("node") if err != nil { diff --git a/sdk/proto/generate.sh b/sdk/proto/generate.sh index 0bac01452..1b0380b8e 100755 --- a/sdk/proto/generate.sh +++ b/sdk/proto/generate.sh @@ -7,7 +7,7 @@ # hence error prone. # # This script relies only on Docker. The container holds the installation of gRPC, tools, etc., for -# different langauges, so nothing is else required to be installed on your machine. +# different languages, so nothing is else required to be installed on your machine. set -e # First build our Protobuf/gRPC compiler Docker image, so dev machines don't need it. diff --git a/tests/integration/integration_test.go b/tests/integration/integration_test.go index 6f08c285e..778717daf 100644 --- a/tests/integration/integration_test.go +++ b/tests/integration/integration_test.go @@ -223,7 +223,7 @@ func TestRemoveWithResourcesBlocked(t *testing.T) { }() stackName, err := resource.NewUniqueHex("rm-test-", 8, -1) - contract.AssertNoErrorf(err, "resource.NewUniqueHex sould not fail with no maximum length is set") + contract.AssertNoErrorf(err, "resource.NewUniqueHex should not fail with no maximum length is set") e.ImportDirectory("single_resource") e.RunCommand("pulumi", "stack", "init", stackName) @@ -265,7 +265,7 @@ func TestPreviewJSON(t *testing.T) { } stackName, err := resource.NewUniqueHex("rm-test-", 8, -1) - contract.AssertNoErrorf(err, "resource.NewUniqueHex sould not fail with no maximum length is set") + contract.AssertNoErrorf(err, "resource.NewUniqueHex should not fail with no maximum length is set") e.ImportDirectory("single_resource") e.RunCommand("pulumi", "stack", "init", stackName)