Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-5308

dcos task commands should always pick an exact task ID match

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects Version/s: DC/OS 1.12.3, DC/OS 1.13.1
    • Fix Version/s: DC/OS 1.12, DC/OS 1.13, DC/OS 2.0
    • Component/s: dcos-cli
    • Labels:
      None
    • Sprint:
      CLI Sprint 50
    • Story Points:
      3

      Description

      dcos task attach and dcos task exec will fail with an error message indicating that multiple tasks were matched, when a user passes a task ID which has multiple matches, even though one of them is an exact match. The command should always select an exact match when it finds one and proceed further.

      Furthermore, we should update the documentation to reflect https://github.com/dcos/dcos-core-cli/commit/2ffb2468d85a25bf0cefa609622c898f5163dda5#diff-50e236080de379adda367353aabc19a5 , see https://docs.mesosphere.com/1.12/cli/command-reference/dcos-task/dcos-task-exec/#positional-arguments

        Attachments

          Activity

            People

            • Assignee:
              agrillet Armand Grillet (Inactive)
              Reporter:
              bilalamarni Bilal Amarni (Inactive)
              Watchers:
              Bilal Amarni (Inactive), Ian Fraser, Lisa Gunn (Inactive), Nikita Zaporozhets (Inactive)
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your JIRA administrators.