Skip to content

Commit b974735

Browse files
fix: 🐛 Correct typo in endpoint query parameters tunnel_name with tunnelName in get_timeseries_stats_tunnel_single_appliance method - fix #7
1 parent 8cb1766 commit b974735

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pyedgeconnect/orch/_timeseries_stats.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def get_timeseries_stats_tunnel_single_appliance(
137137
"""
138138
path = (
139139
"/stats/timeseries/tunnel/"
140-
+ "{}?startTime={}&endTime={}&granularity={}&tunnel_name={}".format(
140+
+ "{}?startTime={}&endTime={}&granularity={}&tunnelName={}".format(
141141
ne_pk, start_time, end_time, granularity, tunnel_name
142142
)
143143
)
@@ -2347,9 +2347,7 @@ def get_timeseries_stats_security_policy_single_appliance(
23472347
"""
23482348
path = (
23492349
"/stats/timeseries/securityPolicy/"
2350-
+ "{}?startTime={}&endTime={}".format(
2351-
ne_pk, start_time, end_time
2352-
)
2350+
+ "{}?startTime={}&endTime={}".format(ne_pk, start_time, end_time)
23532351
+ "&granularity={}&fromZone={}&toZone={}".format(
23542352
granularity, from_zone, to_zone
23552353
)

0 commit comments

Comments
 (0)