From 6f4bd6b7bea3a770f8e51c300d9cc1f31e39c975 Mon Sep 17 00:00:00 2001 From: Shyamsundar Ranganathan Date: Sat, 23 Nov 2024 08:53:31 -0500 Subject: [PATCH] Add missing license headers to source files Discovered while attempting to revive goheader linter. The linter itself seems to have some issues, but as that is being worked on, adding the license to the flagged off files by the linter. Signed-off-by: Shyamsundar Ranganathan --- internal/controller/cel/cel_drclusters_test.go | 3 +++ internal/controller/cel/cel_drplacementcontrol_test.go | 3 +++ internal/controller/cel/cel_drpolicy_test.go | 3 +++ internal/controller/cephfscg/cephfscg_suite_test.go | 3 +++ internal/controller/cephfscg/cghandler.go | 3 +++ internal/controller/cephfscg/cghandler_test.go | 3 +++ internal/controller/cephfscg/replicationgroupdestination.go | 3 +++ .../controller/cephfscg/replicationgroupdestination_test.go | 3 +++ internal/controller/cephfscg/replicationgroupsource.go | 3 +++ internal/controller/cephfscg/replicationgroupsource_test.go | 3 +++ internal/controller/cephfscg/utils.go | 3 +++ internal/controller/cephfscg/volumegroupsourcehandler.go | 3 +++ internal/controller/cephfscg/volumegroupsourcehandler_test.go | 3 +++ internal/controller/util/cephfs_cg.go | 3 +++ internal/controller/util/cephfs_cg_test.go | 3 +++ internal/controller/util/json_util.go | 3 +++ internal/controller/util/json_util_test.go | 3 +++ 17 files changed, 51 insertions(+) diff --git a/internal/controller/cel/cel_drclusters_test.go b/internal/controller/cel/cel_drclusters_test.go index 10023fa41..da3bacd6f 100644 --- a/internal/controller/cel/cel_drclusters_test.go +++ b/internal/controller/cel/cel_drclusters_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cel_test import ( diff --git a/internal/controller/cel/cel_drplacementcontrol_test.go b/internal/controller/cel/cel_drplacementcontrol_test.go index 0c1756ded..3465f0ecc 100644 --- a/internal/controller/cel/cel_drplacementcontrol_test.go +++ b/internal/controller/cel/cel_drplacementcontrol_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cel_test import ( diff --git a/internal/controller/cel/cel_drpolicy_test.go b/internal/controller/cel/cel_drpolicy_test.go index 3c50818a3..c89cbad22 100644 --- a/internal/controller/cel/cel_drpolicy_test.go +++ b/internal/controller/cel/cel_drpolicy_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cel_test import ( diff --git a/internal/controller/cephfscg/cephfscg_suite_test.go b/internal/controller/cephfscg/cephfscg_suite_test.go index ad68b2316..b3b36bf9b 100644 --- a/internal/controller/cephfscg/cephfscg_suite_test.go +++ b/internal/controller/cephfscg/cephfscg_suite_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg_test import ( diff --git a/internal/controller/cephfscg/cghandler.go b/internal/controller/cephfscg/cghandler.go index e778bd098..eab0f8bbc 100644 --- a/internal/controller/cephfscg/cghandler.go +++ b/internal/controller/cephfscg/cghandler.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg import ( diff --git a/internal/controller/cephfscg/cghandler_test.go b/internal/controller/cephfscg/cghandler_test.go index cfa2228fb..af2472d32 100644 --- a/internal/controller/cephfscg/cghandler_test.go +++ b/internal/controller/cephfscg/cghandler_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg_test import ( diff --git a/internal/controller/cephfscg/replicationgroupdestination.go b/internal/controller/cephfscg/replicationgroupdestination.go index 2948261ca..fd76b7abd 100644 --- a/internal/controller/cephfscg/replicationgroupdestination.go +++ b/internal/controller/cephfscg/replicationgroupdestination.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg import ( diff --git a/internal/controller/cephfscg/replicationgroupdestination_test.go b/internal/controller/cephfscg/replicationgroupdestination_test.go index 8b8d67d93..a9e5fefc6 100644 --- a/internal/controller/cephfscg/replicationgroupdestination_test.go +++ b/internal/controller/cephfscg/replicationgroupdestination_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg_test import ( diff --git a/internal/controller/cephfscg/replicationgroupsource.go b/internal/controller/cephfscg/replicationgroupsource.go index 3cbeae7f2..477d3fbc3 100644 --- a/internal/controller/cephfscg/replicationgroupsource.go +++ b/internal/controller/cephfscg/replicationgroupsource.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg import ( diff --git a/internal/controller/cephfscg/replicationgroupsource_test.go b/internal/controller/cephfscg/replicationgroupsource_test.go index 5bf5fcae8..650e08f1a 100644 --- a/internal/controller/cephfscg/replicationgroupsource_test.go +++ b/internal/controller/cephfscg/replicationgroupsource_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg_test import ( diff --git a/internal/controller/cephfscg/utils.go b/internal/controller/cephfscg/utils.go index fb1c08ea0..9790ab32f 100644 --- a/internal/controller/cephfscg/utils.go +++ b/internal/controller/cephfscg/utils.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg import ( diff --git a/internal/controller/cephfscg/volumegroupsourcehandler.go b/internal/controller/cephfscg/volumegroupsourcehandler.go index 940b92e2c..07ea318d8 100644 --- a/internal/controller/cephfscg/volumegroupsourcehandler.go +++ b/internal/controller/cephfscg/volumegroupsourcehandler.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg import ( diff --git a/internal/controller/cephfscg/volumegroupsourcehandler_test.go b/internal/controller/cephfscg/volumegroupsourcehandler_test.go index a3caefb7b..ad87ea81c 100644 --- a/internal/controller/cephfscg/volumegroupsourcehandler_test.go +++ b/internal/controller/cephfscg/volumegroupsourcehandler_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package cephfscg_test import ( diff --git a/internal/controller/util/cephfs_cg.go b/internal/controller/util/cephfs_cg.go index 2cceaced4..bb830e664 100644 --- a/internal/controller/util/cephfs_cg.go +++ b/internal/controller/util/cephfs_cg.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package util import ( diff --git a/internal/controller/util/cephfs_cg_test.go b/internal/controller/util/cephfs_cg_test.go index dd83e962c..c175b2462 100644 --- a/internal/controller/util/cephfs_cg_test.go +++ b/internal/controller/util/cephfs_cg_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package util_test import ( diff --git a/internal/controller/util/json_util.go b/internal/controller/util/json_util.go index 507e78b5e..f5f9a846a 100644 --- a/internal/controller/util/json_util.go +++ b/internal/controller/util/json_util.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package util import ( diff --git a/internal/controller/util/json_util_test.go b/internal/controller/util/json_util_test.go index 3a481d361..3b21e1c3c 100644 --- a/internal/controller/util/json_util_test.go +++ b/internal/controller/util/json_util_test.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + package util_test import (