Skip to content

Commit

Permalink
Remove obsolete warning
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Oct 26, 2023
1 parent e053aba commit ee4bf0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions docs/docs/user/references/cli-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ $ kpops generate [OPTIONS] PIPELINE_PATH [COMPONENTS_MODULE]
* `--pipeline-base-dir DIRECTORY`: Base directory to the pipelines (default is current working directory) [env var: KPOPS_PIPELINE_BASE_DIR; default: .]
* `--defaults DIRECTORY`: Path to defaults folder [env var: KPOPS_DEFAULT_PATH]
* `--config FILE`: Path to the config.yaml file [env var: KPOPS_CONFIG_PATH; default: config.yaml]
* `--steps TEXT`: Comma separated list of steps to apply the command on [env var: KPOPS_PIPELINE_STEPS]
* `--filter-type [include|exclude]`: Whether the --steps option should include/exclude the steps [default: include]
* `--verbose / --no-verbose`: Enable verbose printing [default: no-verbose]
* `--help`: Show this message and exit.

Expand Down
9 changes: 0 additions & 9 deletions kpops/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,19 +245,12 @@ def generate(
pipeline_base_dir: Path = BASE_DIR_PATH_OPTION,
defaults: Optional[Path] = DEFAULT_PATH_OPTION,
config: Path = CONFIG_PATH_OPTION,
steps: Optional[str] = PIPELINE_STEPS,
filter_type: FilterType = FILTER_TYPE,
verbose: bool = VERBOSE_OPTION,
) -> Pipeline:
kpops_config = create_kpops_config(config, defaults, verbose)
pipeline = setup_pipeline(
pipeline_base_dir, pipeline_path, components_module, kpops_config
)
if steps:
log.warning(
"The following flags are considered only when `--template` is set: \n \
'--steps'"
)
print_yaml(str(pipeline))
return pipeline

Expand All @@ -281,8 +274,6 @@ def render(
pipeline_base_dir=pipeline_base_dir,
defaults=defaults,
config=config,
steps=steps,
filter_type=filter_type,
verbose=verbose,
)
steps_to_apply = get_steps_to_apply(pipeline, steps, filter_type)
Expand Down

0 comments on commit ee4bf0e

Please sign in to comment.