karmada/pkg/controllers/applicationfailover
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
..
common.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
common_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
crb_application_failover_controller.go cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer. 2024-05-28 05:32:33 +00:00
crb_application_failover_controller_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
rb_application_failover_controller.go cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer. 2024-05-28 05:32:33 +00:00
rb_application_failover_controller_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00