Skip to content

Commit 88329e2

Browse files
Fix typo (#1081)
Co-authored-by: Chester Chen <[email protected]>
1 parent 25742f0 commit 88329e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvflare/app_common/resource_managers/gpu_resource_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(
5858
raise ValueError("mem_per_gpu_in_GiB should be greater than or equal to 0.")
5959

6060
if not isinstance(expiration_period, (float, int)):
61-
raise ValueError(f"num_of_gpus should be of type int or float, but got {type(expiration_period)}.")
61+
raise ValueError(f"expiration_period should be of type int or float, but got {type(expiration_period)}.")
6262
if expiration_period < 0:
6363
raise ValueError("expiration_period should be greater than or equal to 0.")
6464

0 commit comments

Comments
 (0)