Skip to content

Commit

Permalink
Add FailedPostStartHook error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangpengzhao committed Jan 5, 2018
1 parent 51345de commit fca52ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kuberuntime/kuberuntime_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (m *kubeGenericRuntimeManager) startContainer(podSandboxID string, podSandb
glog.Errorf("Failed to kill container %q(id=%q) in pod %q: %v, %v",
container.Name, kubeContainerID.String(), format.Pod(pod), ErrPostStartHook, err)
}
return msg, ErrPostStartHook
return msg, fmt.Errorf("%s: %v", ErrPostStartHook, handlerErr)
}
}

Expand Down

0 comments on commit fca52ce

Please sign in to comment.