mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
Remove deprecated field ContainerState.NetworkStatusOld
This field drags in a dependency on CNI and thereby blocks us from disabling CNI support via a build tag [NO NEW TESTS NEEDED] Signed-off-by: Dan Čermák <dcermak@suse.com>
This commit is contained in:
@ -643,7 +643,6 @@ func resetContainerState(state *ContainerState) {
|
||||
state.StartupHCFailureCount = 0
|
||||
state.NetNS = ""
|
||||
state.NetworkStatus = nil
|
||||
state.NetworkStatusOld = nil
|
||||
}
|
||||
|
||||
// Refresh refreshes the container's state after a restart.
|
||||
@ -694,7 +693,6 @@ func (c *Container) refresh() error {
|
||||
c.lock = lock
|
||||
|
||||
c.state.NetworkStatus = nil
|
||||
c.state.NetworkStatusOld = nil
|
||||
|
||||
// Rewrite the config if necessary.
|
||||
// Podman 4.0 uses a new port format in the config.
|
||||
|
Reference in New Issue
Block a user