Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <goberlec@redhat.com>
  • Loading branch information
geoberle committed Mar 3, 2024
1 parent dacf202 commit 3cdaa06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reconcile/ocm_machine_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 3cdaa06

Please sign in to comment.