Fixed init state error variable

Init State Error message was using the err variable instead of uerr, which has been fixed now.
The error message should not show "nil" now.

Signed-off-by: Vipul Newaskar <vipulnewaskar7@gmail.com>
This commit is contained in:
Vipul Newaskar
2022-11-13 23:46:12 +05:30
parent f264cf91fa
commit 9fc707e703
+1 -1
View File
@@ -548,7 +548,7 @@ func (p *initProcess) start() (retErr error) {
// procRun sync.
state, uerr := p.container.updateState(p)
if uerr != nil {
return fmt.Errorf("unable to store init state: %w", err)
return fmt.Errorf("unable to store init state: %w", uerr)
}
p.container.initProcessStartTime = state.InitProcessStartTime