Skip to content

Commit 6e40b3d

Browse files
committed
Merge branch 'neo' into master
* neo: MB-55677 Fix the bug when parameter is None Change-Id: Ib77d5ccb3b7b0983a807ffd2f26865369303125c
2 parents 919ec4c + 73715f3 commit 6e40b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@ def _get(self, url, params=None):
25132513
@request
25142514
def _post_form_encoded(self, url, params):
25152515
if self.debug:
2516-
if len(params) and not isinstance(params[0], tuple):
2516+
if params is not None and isinstance(params, str):
25172517
print(f'POST {url} {params}')
25182518
else:
25192519
print(f'POST {url} {self._url_encode_params(params)}')

0 commit comments

Comments
 (0)