Explorar el Código

Fixed linting errors

Signed-off-by: Marcus Dantas <marcus.dantas@engineerbetter.com>
Co-authored-by: Nick Ruffles <nick.ruffles@engineerbetter.com>
Marcus Dantas hace 3 años
padre
commit
456476c313

+ 1 - 1
apis/externalsecrets/v1beta1/pushsecret_interfaces.go

@@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 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
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 distributed under the License is distributed on an "AS IS" BASIS,

+ 1 - 1
pkg/controllers/pushsecret/pushsecret_controller.go

@@ -127,7 +127,7 @@ func (r *Reconciler) SetSecretToProviders(ctx context.Context, stores []v1beta1.
 		if err != nil {
 		if err != nil {
 			return fmt.Errorf(errGetSecretsClientFailed)
 			return fmt.Errorf(errGetSecretsClientFailed)
 		}
 		}
-		defer func() { // nolint
+		defer func() { //nolint
 			err := client.Close(ctx)
 			err := client.Close(ctx)
 			if err != nil {
 			if err != nil {
 				r.Log.Error(err, errCloseStoreClient)
 				r.Log.Error(err, errCloseStoreClient)

+ 1 - 1
pkg/provider/yandex/common/secretsetter.go

@@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 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
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 distributed under the License is distributed on an "AS IS" BASIS,