The mender-client does not always respect the data-dir given in --data

Description

See https://hub.mender.io/t/client-d-global-option-not-working/3563/6 for the description

I did a quick test, and it seems to be correct that it does not behave properly.

 

Acceptance criteria:

        * Double check that this is indeed the case, if so:

  • Make the client respect the --data CLI argument in all instances

  • Unit test for all cli commands

Affects versions

Environment

None

Checklist

Activity

Show:

Ole Petter OrhagenMay 25, 2021 at 7:23 AM

Ole Petter OrhagenApril 28, 2021 at 11:17 AM

this seems like a good task for you

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Backlog

yes

Zendesk Support

Checklist

Created April 28, 2021 at 11:16 AM
Updated June 22, 2021 at 1:37 PM
Resolved May 26, 2021 at 10:31 AM