Skip to content

Commit

Permalink
fix deprecated methods
Browse files Browse the repository at this point in the history
Signed-off-by: xliuqq <xlzq1992@gmail.com>
  • Loading branch information
xliuqq committed Jun 13, 2024
1 parent 5913736 commit 67b50cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ddc/thin/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types"
"k8s.io/utils/pointer"
"k8s.io/utils/ptr"
)

func TestShouldSyncMetadata(t *testing.T) {
Expand Down Expand Up @@ -78,7 +78,7 @@ func TestShouldSyncMetadata(t *testing.T) {
Spec: datav1alpha1.ThinRuntimeSpec{
RuntimeManagement: datav1alpha1.RuntimeManagement{
MetadataSyncPolicy: datav1alpha1.MetadataSyncPolicy{
AutoSync: pointer.Bool(false),
AutoSync: ptr.To(false),
},
},
},
Expand Down

0 comments on commit 67b50cf

Please sign in to comment.