Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pod: CreatedAt time will be 269 years ago while creating cri network …
…failed. We should set sandbox CreatedAt first time when we create sandbox struct, and then set sandbox CreatedAt second time after container started. Before this commit, we just set sandbox CreatedAt after container started, but if network create failed, the sandbox time is the default time, which is 269 years ago, so we need to set sandbox CreatedAt at first, even if an error occurred before start container. Signed-off-by: zzzzzzzzzy9 <zhang.yu58@zte.com.cn> (cherry picked from commit b16d467) There was no merge conflict, but the commit was amended to cover sbserver. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
- Loading branch information