You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, throughout the DWO repo we are initializing variables so that they can be referenced as pointer values when needed, for example here.
Instead, we should make use of k8s.io/utils/pointer to instantiate pointers and reference them in a single statement.
For example, one can get a pointer that points to a boolean with the value true by doing: pointer.BoolPtr(true)
Additional context
Here is where this idea was initially suggested: #953 (comment)
The text was updated successfully, but these errors were encountered:
Description
Currently, throughout the DWO repo we are initializing variables so that they can be referenced as pointer values when needed, for example here.
Instead, we should make use of
k8s.io/utils/pointer
to instantiate pointers and reference them in a single statement.For example, one can get a pointer that points to a boolean with the value
true
by doing:pointer.BoolPtr(true)
Additional context
Here is where this idea was initially suggested: #953 (comment)
The text was updated successfully, but these errors were encountered: