Skip to content

Commit 64d7640

Browse files
committed
GITOPS-6284: added schema code inside controller folder
Signed-off-by: Alka Kumari <alkumari@redhat.com>
1 parent fea9a8d commit 64d7640

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
"github.com/argoproj-labs/argocd-operator/common"
3333
"github.com/argoproj-labs/argocd-operator/controllers/argocd"
3434
"github.com/argoproj-labs/argocd-operator/controllers/argocdexport"
35-
operatorscheme "github.com/argoproj-labs/argocd-operator/schema"
35+
operatorscheme "github.com/argoproj-labs/argocd-operator/controllers/schema"
3636

3737
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
3838

schema/scheme.go renamed to controllers/schema/scheme.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ limitations under the License.
1818
package schema
1919

2020
import (
21+
"os"
22+
2123
appsv1 "github.com/openshift/api/apps/v1"
2224
configv1 "github.com/openshift/api/config/v1"
2325
oauthv1 "github.com/openshift/api/oauth/v1"
@@ -27,7 +29,6 @@ import (
2729
"k8s.io/apimachinery/pkg/runtime"
2830
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
2931
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
30-
"os"
3132
ctrl "sigs.k8s.io/controller-runtime"
3233

3334
v1alpha1 "github.com/argoproj-labs/argocd-operator/api/v1alpha1"
File renamed without changes.

0 commit comments

Comments
 (0)