We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388b075 commit 2db8512Copy full SHA for 2db8512
1 file changed
platforms/kubernetes/postgres-operator/postgres/handle.py
@@ -4063,10 +4063,10 @@ def get_except_nodes(
4063
except_readwrite_nodes = len(OLD)
4064
4065
if FIELD == DIFF_FIELD_READONLY_REPLICAS:
4066
- except_readwrite_nodes = OLD
+ except_readonly_nodes = OLD
4067
4068
if FIELD == DIFF_FIELD_READONLY_MACHINES:
4069
- except_readwrite_nodes = len(OLD)
+ except_readonly_nodes = len(OLD)
4070
4071
return except_readwrite_nodes + except_readonly_nodes
4072
0 commit comments