summaryrefslogtreecommitdiff
path: root/nova/scheduler/client/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/scheduler/client/report.py')
-rw-r--r--nova/scheduler/client/report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/scheduler/client/report.py b/nova/scheduler/client/report.py
index 1242752be1..7c14f3d7ef 100644
--- a/nova/scheduler/client/report.py
+++ b/nova/scheduler/client/report.py
@@ -1047,7 +1047,7 @@ class SchedulerReportClient(object):
context: nova_context.RequestContext,
rp_uuid: str,
traits: ty.Iterable[str],
- generation: int = None
+ generation: ty.Optional[int] = None
):
"""Replace a provider's traits with those specified.