Skip to content

Commit 99009ca

Browse files
authored
Merge pull request #529 from fluxcd/controller-pkg-name
Set controller package name
2 parents 548b612 + bfb2a97 commit 99009ca

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

internal/controller/controllers_fuzzer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See the License for the specific language governing permissions and
1717
limitations under the License.
1818
*/
1919

20-
package controllers
20+
package controller
2121

2222
import (
2323
"context"

internal/controller/imageupdateautomation_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package controllers
17+
package controller
1818

1919
import (
2020
"bytes"

internal/controller/imageupdateautomation_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package controllers
17+
package controller
1818

1919
import (
2020
"testing"

internal/controller/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package controllers
17+
package controller
1818

1919
import (
2020
"fmt"

internal/controller/update_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package controllers
17+
package controller
1818

1919
import (
2020
"bytes"

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ func main() {
188188

189189
ctx := ctrl.SetupSignalHandler()
190190

191-
if err := (&controllers.ImageUpdateAutomationReconciler{
191+
if err := (&controller.ImageUpdateAutomationReconciler{
192192
Client: mgr.GetClient(),
193193
EventRecorder: eventRecorder,
194194
Metrics: metricsH,
195195
NoCrossNamespaceRef: aclOptions.NoCrossNamespaceRefs,
196-
}).SetupWithManager(ctx, mgr, controllers.ImageUpdateAutomationReconcilerOptions{
196+
}).SetupWithManager(ctx, mgr, controller.ImageUpdateAutomationReconcilerOptions{
197197
RateLimiter: helper.GetRateLimiter(rateLimiterOptions),
198198
}); err != nil {
199199
setupLog.Error(err, "unable to create controller", "controller", "ImageUpdateAutomation")

0 commit comments

Comments
 (0)