From 0723f8dcce15394ae29c4e6b2cc4e42da76eb84f Mon Sep 17 00:00:00 2001 From: bshaw Date: Tue, 9 Sep 2025 11:13:47 +0530 Subject: [PATCH] Update oc-mirror-about-cache-and-workspace-dirs.adoc It should be `mirror-to-disk` and `disk-to-mirror` Currently: disk-to-mirror and mirror-to-disk --- modules/oc-mirror-about-cache-and-workspace-dirs.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/oc-mirror-about-cache-and-workspace-dirs.adoc b/modules/oc-mirror-about-cache-and-workspace-dirs.adoc index fb500dee05..b3b778d550 100644 --- a/modules/oc-mirror-about-cache-and-workspace-dirs.adoc +++ b/modules/oc-mirror-about-cache-and-workspace-dirs.adoc @@ -8,7 +8,7 @@ You can use the `--cache-dir` flag to specify a directory where the oc-mirror plugin stores a persistent cache of image blobs and manifests for use during mirroring operations. -The oc-mirror plugin uses the cache in the `disk-to-mirror` and `mirror-to-disk` workflows but does not use the cache in the `mirror-to-mirror` workflow. The plugin uses the cache to perform incremental mirroring and avoids remirroring unchanged images, which saves time and reduces network bandwidth usage. +The oc-mirror plugin uses the cache in the `mirror-to-disk` and `disk-to-mirror` workflows but does not use the cache in the `mirror-to-mirror` workflow. The plugin uses the cache to perform incremental mirroring and avoids remirroring unchanged images, which saves time and reduces network bandwidth usage. The cache directory only contains data up to the last successful mirroring operation. If you delete or corrupt the cache directory, the oc-mirror plugin pulls the image blobs and manifests again, which can force a full remirror and increase network usage.