Skip to content

Commit 7a02d0f

Browse files
Techassisbernauer
andauthored
chore: Apply suggestion
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent f760b36 commit 7a02d0f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/stackable-operator/src/commons/product_image_selection.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ impl PullPolicy {
156156
/// Returns the appropriate [`PullPolicy`] based on if a floating tag is used.
157157
fn from_is_floating_tag(is_floating_tag: bool) -> Self {
158158
if is_floating_tag {
159+
// Floating tags only really make sense in case new versions are pulled on startup.
159160
Self::Always
160161
} else {
162+
// Fixed (e.g. full SDP version) tags should never move and thus only need to be pulled if not present.
161163
Self::IfNotPresent
162164
}
163165
}

0 commit comments

Comments
 (0)