mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: remove wrong deprecated warning (#2202)
# What does this PR do? `--yaml-config` is gone now with https://github.com/meta-llama/llama-stack/pull/2196. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
0cc0731189
commit
82778ecbb0
1 changed files with 0 additions and 8 deletions
|
@ -370,14 +370,6 @@ def main(args: argparse.Namespace | None = None):
|
||||||
if args is None:
|
if args is None:
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
# Check for deprecated argument usage
|
|
||||||
if "--config" in sys.argv:
|
|
||||||
warnings.warn(
|
|
||||||
"The '--config' argument is deprecated and will be removed in a future version. Use '--config' instead.",
|
|
||||||
DeprecationWarning,
|
|
||||||
stacklevel=2,
|
|
||||||
)
|
|
||||||
|
|
||||||
log_line = ""
|
log_line = ""
|
||||||
if args.config:
|
if args.config:
|
||||||
# if the user provided a config file, use it, even if template was specified
|
# if the user provided a config file, use it, even if template was specified
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue