Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #671

Merged
merged 4 commits into from
Nov 17, 2023
Merged

Update dependencies #671

merged 4 commits into from
Nov 17, 2023

Conversation

masa213f
Copy link
Contributor

@masa213f masa213f commented Nov 17, 2023

part of #666

  • Update go dependencies
  • Update go minimal version to go 1.21
  • Update actions
  • Remove depricated go module
    • Remove k8s.io/utils/pointer and use k8s.io/utils/ptr instead.

Signed-off-by: Masayuki Ishii [email protected]

Signed-off-by: Masayuki Ishii <[email protected]>
@masa213f masa213f self-assigned this Nov 17, 2023
@masa213f masa213f requested review from morimoto-cybozu and removed request for morimoto-cybozu November 17, 2023 05:48
Signed-off-by: Masayuki Ishii <[email protected]>
Signed-off-by: Masayuki Ishii <[email protected]>
@@ -13,7 +13,7 @@ import (
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/pointer"
Copy link
Contributor Author

@masa213f masa213f Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k8s.io/utils/pointer is deprecated.

staticcheck shows follwoing error.

cluster_test.go:14:2: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.  (SA1019)
mtest/reboot_test.go:16:2: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.  (SA1019)
op/k8s/config.go:18:2: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.  (SA1019)
op/k8s/config_test.go:14:2: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.  (SA1019)
server/strategy_test.go:23:2: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.  (SA1019)

@masa213f masa213f changed the title Update go dependencies and go minimal version Update dependencies Nov 17, 2023
Copy link
Contributor

@morimoto-cybozu morimoto-cybozu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masa213f masa213f merged commit 0ed3eac into main Nov 17, 2023
6 checks passed
@masa213f masa213f deleted the cke-tools-1.27 branch November 17, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants