Skip to content

kpm diagnostic tool behaves inconsistently when the api credentials are specified in a config file as well as on the command line #269

Description

@reshmabidikar

Steps to reproduce:

  1. Create a config.yml file as follows:
killbill:
  api_key: bob
  api_secret: lazar
  port: 8080
  host: localhost
  user: admin
  password: password
  plugins_dir: /var/tmp/bundles
  1. Run the kpm diagnostic command as follows:
kpm diagnostic --account-export=<account id from bob/lazar tenant> --config_file=config.yml --killbill-api-credentials=t1 t1 
  1. In this case, the diagnostic file contains tenant information from the t1/t1 tenant and account information from the bob/lazar tenant.

Expected Behavior: We should disallow specifying both a config file and command line options to prevent such inconsistent behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions