Skip to content

Commit b317a8a

Browse files
authored
error printing edge filer throttling policy rule set to every day, up… (#308)
1 parent c87bd6a commit b317a8a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

cterasdk/common/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ def from_server_object(param):
187187

188188
def __str__(self):
189189
return str(dict(upload_kbps=self.upload, download_kbps=self.download,
190-
start=self.schedule.start, end=self.schedule.end, days=[day_of_week(day) for day in self.schedule.days]))
190+
start=self.schedule.start, end=self.schedule.end,
191+
days=[day_of_week(day) for day in self.schedule.days or list(range(0, 7))]))
191192

192193

193194
class ThrottlingRuleBuilder:

docs/source/UserGuides/Miscellaneous/Changelog.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@ Changelog
44
2.20.15
55
-------
66

7+
Improvements
8+
^^^^^^^^^^^^
9+
10+
* Support retrieving, adding, and removing Edge Filer hosts file entries
11+
712
Bug Fixes
813
^^^^^^^^^
914

1015
* Fixed a documentation error related to deleting and undeleting Team Portal tenants.
16+
* Fixed an error when printing Edge Filer throttling policy rules set to "Every Day".
1117

1218
Related issues and pull requests on GitHub: `#306 <https://github.com/ctera/ctera-python-sdk/pull/306>`_,
13-
`#307 <https://github.com/ctera/ctera-python-sdk/pull/307>`_
19+
`#307 <https://github.com/ctera/ctera-python-sdk/pull/307>`_,
20+
`#308 <https://github.com/ctera/ctera-python-sdk/pull/308>`_
1421

1522

1623
2.20.14

0 commit comments

Comments
 (0)