aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/src/cmpv2controller
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2021-07-05 12:25:15 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2021-07-06 13:38:43 +0200
commit75a51525a32818a860f97fcb67750b3abf0e2846 (patch)
treeeda575e8e5a60ad6e5742976c3d47f7926405f84 /certServiceK8sExternalProvider/src/cmpv2controller
parent430b63820a2e1807e45ca9fba21d81be8b9fd5ee (diff)
[OOM-K8S-CERT-EXTERNAL-PROVIDER] Format golang code
Issue-ID: OOM-2753 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I7b2f83dff5f7894b3064461b523bd94a77cac1f3
Diffstat (limited to 'certServiceK8sExternalProvider/src/cmpv2controller')
-rw-r--r--certServiceK8sExternalProvider/src/cmpv2controller/logger/certificate_request_logger_test.go2
-rw-r--r--certServiceK8sExternalProvider/src/cmpv2controller/updater/k8s_resource_updater_test.go3
2 files changed, 2 insertions, 3 deletions
diff --git a/certServiceK8sExternalProvider/src/cmpv2controller/logger/certificate_request_logger_test.go b/certServiceK8sExternalProvider/src/cmpv2controller/logger/certificate_request_logger_test.go
index 0b50980b..05909f1d 100644
--- a/certServiceK8sExternalProvider/src/cmpv2controller/logger/certificate_request_logger_test.go
+++ b/certServiceK8sExternalProvider/src/cmpv2controller/logger/certificate_request_logger_test.go
@@ -56,7 +56,7 @@ var supportedProperties = []string{
"+ property 'ipAddresses'",
"+ property 'uris'",
"+ property 'email addresses'",
- }
+}
const RESULT_LOG = "testdata/test_result.log"
diff --git a/certServiceK8sExternalProvider/src/cmpv2controller/updater/k8s_resource_updater_test.go b/certServiceK8sExternalProvider/src/cmpv2controller/updater/k8s_resource_updater_test.go
index 553c419f..b4f336fc 100644
--- a/certServiceK8sExternalProvider/src/cmpv2controller/updater/k8s_resource_updater_test.go
+++ b/certServiceK8sExternalProvider/src/cmpv2controller/updater/k8s_resource_updater_test.go
@@ -31,10 +31,9 @@ import (
)
const (
- recorderBufferSize = 3
+ recorderBufferSize = 3
)
-
func Test_shouldFireWarningEvent_forCmpv2Issuer(t *testing.T) {
fakeRecorder := record.NewFakeRecorder(recorderBufferSize)