Kaynağa Gözat

fix: fixed linting

Signed-off-by: Nick Ruffles <nick.ruffles@engineerbetter.com>
Co-authored-by: Marcus Dantas <marcus.dantas@engineerbetter.com>
Co-authored-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Nick Ruffles 3 yıl önce
ebeveyn
işleme
1790b58897

+ 3 - 3
pkg/provider/aws/parameterstore/parameterstore_test.go

@@ -36,7 +36,7 @@ type parameterstoreTestCase struct {
 	expectError    string
 	expectedSecret string
 	expectedData   map[string]string
-	setApiInput    *ssm.PutParameterInput
+	setAPIInput    *ssm.PutParameterInput
 }
 
 func makeValidParameterStoreTestCase() *parameterstoreTestCase {
@@ -86,8 +86,8 @@ func TestSetSecret(t *testing.T) {
 	pm := makeValidParameterStoreTestCase()
 
 	setSimpleSecret := func(pstc *parameterstoreTestCase) {
-		pm.setApiInput.SetName("nameHere")
-		pm.setApiInput.SetValue("valueHere")
+		pm.setAPIInput.SetName("nameHere")
+		pm.setAPIInput.SetValue("valueHere")
 	}
 
 	successCases := []*parameterstoreTestCase{