Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Tiger Kaovilai <[email protected]>
  • Loading branch information
kaovilai committed Feb 26, 2024
1 parent 84e574f commit db6559f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/common-controller/framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func (r *snapshotReactor) React(action core.Action) (handled bool, ret runtime.O
r.changedObjects = append(r.changedObjects, claim)
r.changedSinceLastSync++
klog.V(4).Infof("saved updated claim %s", claim.Name)
return
return

case action.Matches("get", "secrets"):
name := action.(core.GetAction).GetName()
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func PatchOpsToAddFinalizers(object metav1.Object, finalizers ...string) []Patch
if len(finalizers) == 0 {
return patches
}
if object.GetFinalizers() == nil || len(object.GetFinalizers()) == 0{
if object.GetFinalizers() == nil || len(object.GetFinalizers()) == 0 {
patches = append(patches, PatchOp{
Op: "add",
Path: "/metadata/finalizers",
Expand Down

0 comments on commit db6559f

Please sign in to comment.