Skip to content

Commit

Permalink
Fix lint (#1262)
Browse files Browse the repository at this point in the history
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
  • Loading branch information
saswatamcode authored Oct 19, 2023
1 parent e63bfa9 commit bc2dc3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (r *MultiClusterObservabilityReconciler) Reconcile(ctx context.Context, req
StartStatusUpdate(r.Client, instance)

ingressCtlCrdExists := r.CRDMap[config.IngressControllerCRD]
if os.Getenv("UNIT_TEST") != "true" {
if _, ok := os.LookupEnv("UNIT_TEST"); !ok {
// start placement controller
err := placementctrl.StartPlacementController(r.Manager, r.CRDMap)
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) Red Hat, Inc.
// Copyright Contributors to the Open Cluster Management project
// Licensed under the Apache License 2.0

package multiclusterobservability

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) Red Hat, Inc.
// Copyright Contributors to the Open Cluster Management project
// Licensed under the Apache License 2.0

package multiclusterobservability

import (
Expand Down

0 comments on commit bc2dc3d

Please sign in to comment.