Skip to content

Commit

Permalink
Fix feathr hocon command (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymo001 committed Mar 21, 2023
1 parent 55290e7 commit aa30406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion feathr_project/feathrcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import subprocess
import urllib.request
from feathr.client import FeathrClient
from feathr.definition.config_helper import FeathrConfigHelper
from feathr.registry._feathr_registry_client import _FeatureRegistry

@click.group()
Expand Down Expand Up @@ -80,7 +81,7 @@ def hocon(save_to):
"""
scan_dir = Path.cwd()
save_to = Path(os.path.join(scan_dir, save_to))
_FeatureRegistry.save_to_feature_config(scan_dir, save_to)
FeathrConfigHelper().save_to_feature_config(scan_dir, save_to)


@cli.command()
Expand Down

0 comments on commit aa30406

Please sign in to comment.