From bcf7380bd9938a74c4c59f31e3abc555c942082f Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 28 Nov 2022 17:49:50 +0100 Subject: [PATCH] Drop ignore rootfs from checkpoint Ignoring the rootfs is only supported with an export as the man page describes: IMPORTANT: This OPTION only works in combination with --export, -e. --- src/ContainerCheckpointModal.jsx | 5 ----- test/check-application | 1 - 2 files changed, 6 deletions(-) diff --git a/src/ContainerCheckpointModal.jsx b/src/ContainerCheckpointModal.jsx index 6711edda5..8dadad08c 100644 --- a/src/ContainerCheckpointModal.jsx +++ b/src/ContainerCheckpointModal.jsx @@ -13,7 +13,6 @@ const ContainerCheckpointModal = ({ containerWillCheckpoint, onAddNotification } const [keep, setKeep] = useState(false); const [leaveRunning, setLeaveRunning] = useState(false); const [tcpEstablished, setTcpEstablished] = useState(false); - const [ignoreRootFS, setIgnoreRootFS] = useState(false); const handleCheckpointContainer = () => { setProgress(true); @@ -21,7 +20,6 @@ const ContainerCheckpointModal = ({ containerWillCheckpoint, onAddNotification } keep, leaveRunning, tcpEstablished, - ignoreRootFS, }) .catch(ex => { const error = cockpit.format(_("Failed to checkpoint container $0"), containerWillCheckpoint.Names); @@ -59,9 +57,6 @@ const ContainerCheckpointModal = ({ containerWillCheckpoint, onAddNotification } - ); diff --git a/test/check-application b/test/check-application index 153f7edb5..8d07803f7 100755 --- a/test/check-application +++ b/test/check-application @@ -1175,7 +1175,6 @@ class TestApplication(testlib.MachineCase): self.performContainerAction("swamped-crate", "Checkpoint") b.set_checked('.pf-c-modal-box input#checkpoint-dialog-keep', True) b.set_checked('.pf-c-modal-box input#checkpoint-dialog-tcpEstablished', True) - b.set_checked('.pf-c-modal-box input#checkpoint-dialog-ignoreRootFS', True) b.click('.pf-c-modal-box button:contains(Checkpoint)') with b.wait_timeout(300):