fix(invocation-stats): use appropriate method to get the type of an invocation

This commit is contained in:
psychedelicious 2024-02-03 18:37:08 +11:00 committed by Kent Keirsey
parent 9f274c79dc
commit 3ebb806410

View File

@ -64,7 +64,7 @@ class InvocationStatsService(InvocationStatsServiceBase):
finally:
# Record state after the invocation.
node_stats = NodeExecutionStats(
invocation_type=invocation.type,
invocation_type=invocation.get_type(),
start_time=start_time,
end_time=time.time(),
start_ram_gb=start_ram / GB,