Skip to content

Commit eee3faf

Browse files
Apply suggestions from code review
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>
1 parent c8666ae commit eee3faf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • crates/stackable-operator/src/builder/pod

crates/stackable-operator/src/builder/pod/probe.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ impl ProbeBuilder<ProbeAction, Duration> {
204204
/// overall check has failed: the container is not ready/healthy/live.
205205
///
206206
/// Minimum value is 1 second. For the case of a startup or liveness probe, if at least
207-
/// `failureThreshold`` probes have failed, Kubernetes treats the container as unhealthy and
207+
/// `failureThreshold` probes have failed, Kubernetes treats the container as unhealthy and
208208
/// triggers a restart for that specific container. The kubelet honors the setting of
209-
/// `terminationGracePeriodSeconds`` for that container. For a failed readiness probe, the
209+
/// `terminationGracePeriodSeconds` for that container. For a failed readiness probe, the
210210
/// kubelet continues running the container that failed checks, and also continues to run more
211211
/// probes; because the check failed, the kubelet sets the `Ready` condition on the Pod to
212212
/// `false`.
@@ -238,8 +238,8 @@ impl ProbeBuilder<ProbeAction, Duration> {
238238
/// failed container, and then forcing the container runtime to stop that container.
239239
///
240240
/// The default (if this function is not called) is to inherit the Pod-level value for
241-
/// `terminationGracePeriodSeconds`` (30 seconds if not specified), and the minimum value is
242-
/// 1 second. See probe-level `terminationGracePeriodSeconds`` for more detail.
241+
/// `terminationGracePeriodSeconds` (30 seconds if not specified), and the minimum value is
242+
/// 1 second. See probe-level `terminationGracePeriodSeconds` for more detail.
243243
pub fn with_termination_grace_period(mut self, termination_grace_period: Duration) -> Self {
244244
self.termination_grace_period = Some(termination_grace_period);
245245
self

0 commit comments

Comments
 (0)