Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-649

CLI inconsistent handling of STRATOS_URL validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0 RC3
    • CLI
    • None

    Description

      If STRATOS_URL env var has not been found, CLI should output:

      Could not find required "STRATOS_URL" variable in your environment.
      

      If STRATOS_URL is the wrong format, CLI should output:

      The "STRATOS_URL" variable in your environment is not a valid URL. You have provided "https://localhost"
      Please provide the Stratos Controller URL as follows
      https://<host>:<port>
      

      Where the hostname provided by the user is output in the error message.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snowch chris snow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: