From 5ecca2ed143187ba4c8e3dde44c9ec5f1627ce6b Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:53:00 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Scott Rigby Signed-off-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> --- internal/statusreaders/job_status_reader.go | 5 +++-- internal/statusreaders/job_status_reader_test.go | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/internal/statusreaders/job_status_reader.go b/internal/statusreaders/job_status_reader.go index d493d9e13..e11843f6d 100644 --- a/internal/statusreaders/job_status_reader.go +++ b/internal/statusreaders/job_status_reader.go @@ -1,5 +1,8 @@ /* Copyright The Helm Authors. +This file was initially copied and modified from + https://github.com/fluxcd/kustomize-controller/blob/main/internal/statusreaders/job.go +Copyright 2022 The Flux authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,8 +19,6 @@ limitations under the License. package statusreaders -// This file was copied and modified from https://github.com/fluxcd/kustomize-controller/blob/main/internal/statusreaders/job.go - import ( "context" "fmt" diff --git a/internal/statusreaders/job_status_reader_test.go b/internal/statusreaders/job_status_reader_test.go index 70e4ee29a..5f07be91c 100644 --- a/internal/statusreaders/job_status_reader_test.go +++ b/internal/statusreaders/job_status_reader_test.go @@ -1,5 +1,8 @@ /* Copyright The Helm Authors. +This file was initially copied and modified from + https://github.com/fluxcd/kustomize-controller/blob/main/internal/statusreaders/job_test.go +Copyright 2022 The Flux authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,7 +19,6 @@ limitations under the License. package statusreaders -// This file was copied and modified from https://github.com/fluxcd/kustomize-controller/blob/main/internal/statusreaders/job.go import ( "testing"