Skip to content

Commit

Permalink
fixup, use nondeprecated pointer func alternative, see similar fixes …
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Nov 16, 2024
1 parent fefa76e commit b492194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ var _ = Describe("The Openshift Notebook controller", func() {
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: Name + "-oauth-config",
DefaultMode: pointer.Int32Ptr(420),
DefaultMode: pointer.Int32(420),
},
},
},
Expand All @@ -651,7 +651,7 @@ var _ = Describe("The Openshift Notebook controller", func() {
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: Name + "-oauth-client-generated",
DefaultMode: pointer.Int32Ptr(420),
DefaultMode: pointer.Int32(420),
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func InjectOAuthProxy(notebook *nbv1.Notebook, oauth OAuthConfig) error {
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: notebook.Name + "-oauth-client-generated",
DefaultMode: pointer.Int32Ptr(420),
DefaultMode: pointer.Int32(420),
},
},
}
Expand Down

0 comments on commit b492194

Please sign in to comment.