Skip to content

Commit bd045bc

Browse files
committed
Pull request #52: fix get_first_N_http_standalone_strikes
Merge in ISGAPPSEC/cyperf-api-wrapper from fix-get_first_N_http_standalone_strikes-function to main Squashed commit of the following: commit 8e8ac1da56dd995d75d6ee01b9ae31f48a41533e Author: iustmitu <iustin.mitu@keysight.com> Date: Fri Dec 12 14:09:09 2025 +0200 fix get_first_N_http_standalone_strikes
1 parent db1cd1c commit bd045bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cyperf/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def get_first_N_http_standalone_strikes(self, n):
217217
protocol = strike.metadata.protocol
218218
supported_apps = strike.metadata.supported_apps
219219

220-
if protocol.lower() == 'http' and supported_apps == None:
220+
if protocol.lower() == 'http' and (supported_apps == None or supported_apps == []):
221221
http_strikes.append(strike)
222222
if len(http_strikes) == n:
223223
break

0 commit comments

Comments
 (0)