Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

agent,unit: check errors from start/stop/unload-ing unit #1647

Merged

Commits on Jul 22, 2016

  1. agent,unit: make UnitManager.Unload() return error

    Now that it's possible to retrieve an error from a.um.TriggerStop(),
    a.um.Unload() should be able to return an error for consistency.
    Also the error should be delivered up to mapTaskToFunc() not to be
    ignored from the task manager.
    Dongsu Park committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    343ae86 View commit details
    Browse the repository at this point in the history
  2. agent: check errors from start/stop-ing unit

    Now that UnitManager.Trigger{Start,Stop}() could return an error, the
    error should be delivered up to mapTaskToFunc(), not to be ignored by
    the task manager. Doing that, we can fix a bug in fleet ignoring failed
    attempt to start/stop a unit.
    
    Fixes coreos#998
    Dongsu Park committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    0829c33 View commit details
    Browse the repository at this point in the history