Skip to content

Commit f6eae33

Browse files
committed
go fmt
1 parent 20a487f commit f6eae33

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

controllers/registry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@ func Test_replaceCarriageReturn(t *testing.T) {
19381938
{
19391939
name: "Given secret data with carriage return, carriage return is replaced with new line",
19401940
args: args{
1941-
data: secretDataWithCarriageReturnInSecret,
1941+
data: secretDataWithCarriageReturnInSecret,
19421942
logger: logr.FromContextOrDiscard(context.TODO()),
19431943
},
19441944
want: secretDataWithEqualInSecret,

tests/e2e/dpa_deployment_suite_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ var _ = Describe("Configuration testing for DPA Custom Resource", func() {
2424
bslConfig := Dpa.Spec.BackupLocations[0].Velero.Config
2525

2626
type InstallCase struct {
27-
Name string
28-
BRestoreType BackupRestoreType
29-
DpaSpec *oadpv1alpha1.DataProtectionApplicationSpec
27+
Name string
28+
BRestoreType BackupRestoreType
29+
DpaSpec *oadpv1alpha1.DataProtectionApplicationSpec
3030
TestCarriageReturn bool
31-
WantError bool
31+
WantError bool
3232
}
3333

3434
genericTests := []TableEntry{
@@ -65,8 +65,8 @@ var _ = Describe("Configuration testing for DPA Custom Resource", func() {
6565
WantError: false,
6666
}, nil),
6767
Entry("Default velero CR, test carriage return", InstallCase{
68-
Name: "default-cr",
69-
BRestoreType: RESTIC,
68+
Name: "default-cr",
69+
BRestoreType: RESTIC,
7070
TestCarriageReturn: true,
7171
DpaSpec: &oadpv1alpha1.DataProtectionApplicationSpec{
7272
Configuration: &oadpv1alpha1.ApplicationConfig{

0 commit comments

Comments
 (0)