Skip to content

Commit 362fff4

Browse files
committed
hotfix: Make skip_failing default in cert_manager_client
1 parent c538e4e commit 362fff4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="certapi",
5-
version="1.0.2",
5+
version="1.0.3",
66
packages=find_packages(where="src"),
77
package_dir={"": "src"},
88
install_requires=[

src/certapi/client/cert_manager_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def issue_certificate(
4848
organization: Optional[str] = None,
4949
user_id: Optional[str] = None,
5050
renew_threshold_days: Optional[int] = None,
51+
skip_failing: bool = True,
5152
) -> CertificateResponse:
5253
params = {
5354
"hostname": hosts if isinstance(hosts, str) else hosts,
@@ -66,6 +67,7 @@ def issue_certificate(
6667
params["user_id"] = user_id
6768
if renew_threshold_days is not None:
6869
params["renew_threshold_days"] = renew_threshold_days
70+
params["skip_failing"] = skip_failing
6971

7072
data = self._get("/obtain", params=params)
7173
res = CertificateResponse.from_json(data)

0 commit comments

Comments
 (0)