Skip to content

Commit

Permalink
Core & Internals: fix use_cache parameter forwarding in config_get_*
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Carpa committed Nov 13, 2023
1 parent 4380d02 commit 7699c9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rucio/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def config_get_int(
default=default,
check_config_table=check_config_table,
session=session,
use_cache=True,
use_cache=use_cache,
expiration_time=expiration_time,
convert_type_fnc=int,
)
Expand Down Expand Up @@ -434,7 +434,7 @@ def config_get_float(
default=default,
check_config_table=check_config_table,
session=session,
use_cache=True,
use_cache=use_cache,
expiration_time=expiration_time,
convert_type_fnc=float,
)
Expand Down Expand Up @@ -521,7 +521,7 @@ def config_get_bool(
default=default,
check_config_table=check_config_table,
session=session,
use_cache=True,
use_cache=use_cache,
expiration_time=expiration_time,
convert_type_fnc=_convert_to_boolean,
)
Expand Down Expand Up @@ -608,7 +608,7 @@ def config_get_list(
default=default,
check_config_table=check_config_table,
session=session,
use_cache=True,
use_cache=use_cache,
expiration_time=expiration_time,
)
if isinstance(value, str):
Expand Down

0 comments on commit 7699c9c

Please sign in to comment.