This changes moves the call to tear_down_cleaning to before we set the last_error and maintenance_reason fields. Thus we avoid overwriting last_error by e.g. power actions. Related-Bug: #1588901 Change-Id: Ia448431a2922ea6f7adc27065dbcab1ba8358daa
76 B
76 B