From 3cdaa069308bbfbe3889dbf92a8d1848772439ed Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Sun, 3 Mar 2024 13:57:00 +0100 Subject: [PATCH] docstring Signed-off-by: Gerd Oberlechner --- reconcile/ocm_machine_pools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reconcile/ocm_machine_pools.py b/reconcile/ocm_machine_pools.py index dac7ce6062..748d7b1dbd 100644 --- a/reconcile/ocm_machine_pools.py +++ b/reconcile/ocm_machine_pools.py @@ -278,7 +278,9 @@ def has_diff(self, pool: ClusterMachinePoolV1) -> bool: or self.labels != pool.labels or self.aws_node_pool.instance_type != pool.instance_type # if the nodepool in app-interface does not define a subnet explicitely - # we don't consider it a diff. we don't manage it + # we don't consider it a diff. we don't manage it, but `get_pool_spec_to_update` + # will highlight it as a spec drift that is going to be fixed with an MR + # towards app-interface or (pool.subnet is not None and self.subnet != pool.subnet) or self._has_diff_autoscale(pool) )