[client] send inventory after a successful deployment

Description

The Mender client must trigger an inventory update after a successful deployment. Today, it only does it if the client restart (e.g., after a reboot). We need to reset lastInventoryUpdateAttempt when a deployment completes, ideally in the Cleanup state.

Acceptance criteria:

  • The client performs an inventory update after the installation of a deployment

Affects versions

None

Environment

None

Checklist

Activity

Show:

Ole Petter Orhagen March 10, 2021 at 8:52 AM

Fabio Tranchitella March 9, 2021 at 2:01 PM

FYI

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Fix versions

Sprint

Backlog

yes

Zendesk Support

Checklist

Created March 9, 2021 at 2:00 PM
Updated March 17, 2021 at 2:14 PM
Resolved March 17, 2021 at 2:13 PM