Skip to content

Commit

Permalink
Changed conditon to str and int again
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamsugara22 committed Nov 18, 2024
1 parent 482e586 commit ea88da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion st2client/st2client/commands/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ def _get_parameter_sort_value(self, parameters, name):
parameter = parameters.get(name)
if parameter:
position = parameter.get("position")
return str(position) if position is not None else name
return position if position is not None else name
return None

def _get_inherited_env_vars(self):
Expand Down

0 comments on commit ea88da2

Please sign in to comment.