Skip to content

Commit 50f9fa6

Browse files
committed
fix v6.4.1
1 parent f3dbb69 commit 50f9fa6

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ v6.4.1
1010
Release Summary
1111
---------------
1212

13-
This is release 6.4.1 of "check_point.mgmt", released on 2025-05-28.
13+
This is release 6.4.1 of "check_point.mgmt", released on 2025-06-03.
1414

1515
Bugfixes
1616
--------

changelogs/changelog.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,10 +1304,10 @@ releases:
13041304
bugfixes:
13051305
- Added required management version to the documentation for all collection
13061306
modules.
1307-
- "module_utils/checkpoint \u2013 Prevent redundant logout call when there is
1308-
no authentication header 'X-chkp-sid'."
1309-
release_summary: This is release 6.4.1 of ``check_point.mgmt``, released on
1310-
2025-05-28.
1307+
- module_utils/checkpoint - Prevent redundant logout call when there is
1308+
no authentication header 'X-chkp-sid'.
1309+
release_summary: This is release 6.4.1 of "check_point.mgmt", released on
1310+
2025-06-01.
13111311
fragments:
13121312
- 6.4.1.yml
1313-
release_date: '2025-05-28'
1313+
release_date: '2025-06-03'

plugins/module_utils/checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ def get_number_and_section_from_position(
10141014
show_rulebase_command = get_relevant_show_rulebase_command(api_call_object)
10151015
if "position" in payload:
10161016
section_name = None
1017-
if isinstance(payload["position"]) is not dict:
1017+
if not isinstance(payload["position"], dict):
10181018
position = payload["position"]
10191019
if position == "top":
10201020
position = 1

plugins/modules/cp_mgmt_simple_cluster.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -992,28 +992,28 @@
992992
ip_address: 17.23.5.1
993993
members:
994994
- interfaces:
995-
- ip_address: 17.23.5.2
996-
name: eth0
997-
network_mask: 255.255.255.0
998-
- ip_address: 1.1.2.4
999-
name: eth1
1000-
network_mask: 255.255.255.0
1001-
- ip_address: 192.168.1.2
1002-
name: eth2
1003-
network_mask: 255.255.255.0
995+
- ip_address: 17.23.5.2
996+
name: eth0
997+
network_mask: 255.255.255.0
998+
- ip_address: 1.1.2.4
999+
name: eth1
1000+
network_mask: 255.255.255.0
1001+
- ip_address: 192.168.1.2
1002+
name: eth2
1003+
network_mask: 255.255.255.0
10041004
ip_address: 17.23.5.2
10051005
name: member1
10061006
one_time_password: abcd
10071007
- interfaces:
1008-
- ip_address: 17.23.5.3
1009-
name: eth0
1010-
network_mask: 255.255.255.0
1011-
- ip_address: 1.1.2.5
1012-
name: eth1
1013-
network_mask: 255.255.255.0
1014-
- ip_address: 192.168.1.3
1015-
name: eth2
1016-
network_mask: 255.255.255.0
1008+
- ip_address: 17.23.5.3
1009+
name: eth0
1010+
network_mask: 255.255.255.0
1011+
- ip_address: 1.1.2.5
1012+
name: eth1
1013+
network_mask: 255.255.255.0
1014+
- ip_address: 192.168.1.3
1015+
name: eth2
1016+
network_mask: 255.255.255.0
10171017
ip_address: 17.23.5.3
10181018
name: member2
10191019
one_time_password: abcd

tests/units/plugins/httpapi/test_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _connection_response(response, status=200):
9595
response_mock = mock.Mock()
9696
response_mock.getcode.return_value = status
9797
response_text = (
98-
json.dumps(response) if isinstance(response) is dict else response
98+
json.dumps(response) if isinstance(response, dict) else response
9999
)
100100
response_data = BytesIO(
101101
response_text.encode() if response_text else "".encode()

0 commit comments

Comments
 (0)