Skip to content

Commit b3c1891

Browse files
committed
docs: Update doc comment references
1 parent bb6d858 commit b3c1891

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

rust/operator-binary/src/csi_server/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ async fn local_listener_addresses_for_pod(
477477
}
478478
}
479479

480-
/// Publish listener into a [`PodListeners`] Kubernetes object.
480+
/// Publish listener into a [`v1alpha1::PodListeners`] Kubernetes object.
481481
async fn publish_pod_listener(
482482
client: &stackable_operator::client::Client,
483483
pod: &Pod,

rust/operator-binary/src/listener_controller.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,9 @@ pub fn error_policy<T>(_obj: Arc<T>, error: &Error, _ctx: Arc<Ctx>) -> controlle
509509
}
510510
}
511511

512-
/// Lists the names of the [`Node`]s backing this [`Listener`].
512+
/// Lists the names of the [`Node`]s backing this [`v1alpha1::Listener`].
513513
///
514-
/// Should only be used for [`NodePort`](`ServiceType::NodePort`) [`Listener`]s.
514+
/// Should only be used for [`NodePort`](`v1alpha1::ServiceType::NodePort`) [`v1alpha1::Listener`]s.
515515
async fn node_names_for_nodeport_listener(
516516
client: &stackable_operator::client::Client,
517517
listener: &v1alpha1::Listener,
@@ -623,7 +623,7 @@ pub enum ListenerPersistentVolumeLabelError {
623623
const PV_LABEL_LISTENER_NAMESPACE: &str = "listeners.stackable.tech/listener-namespace";
624624
const PV_LABEL_LISTENER_NAME: &str = "listeners.stackable.tech/listener-name";
625625

626-
/// A label that identifies which [`Listener`] corresponds to a given [`PersistentVolume`].
626+
/// A label that identifies which [`v1alpha1::Listener`] corresponds to a given [`PersistentVolume`].
627627
pub fn listener_persistent_volume_label(
628628
listener: &v1alpha1::Listener,
629629
) -> Result<BTreeMap<String, String>, ListenerPersistentVolumeLabelError> {

rust/operator-binary/src/utils/address.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub struct AddressCandidates<'a> {
88
}
99

1010
impl<'a> AddressCandidates<'a> {
11-
/// Tries to pick the preferred [`AddressType`], falling back if it is not available.
11+
/// Tries to pick the preferred [`v1alpha1::AddressType`], falling back if it is not available.
1212
pub fn pick(
1313
&self,
1414
preferred_address_type: v1alpha1::AddressType,

0 commit comments

Comments
 (0)