CleanCache() passes CimianPaths.CacheDir straight to CleanCacheDirectory (cli/managedsoftwareupdate/Program.cs:482) instead of the loaded config.CachePath (Models/UpdateModels.cs:17). Every other cache-aware path uses the configured value — --show-config prints it (:255) and the cache-age report reads it (:354).
On a client with CachePath pointed somewhere other than the default, --clean-cache reports success while the directory that is actually filling the disk is untouched.
Follow-up to #114, which fixed the directory the flag looked in but left it reading the constant rather than the configuration.
CleanCache()passesCimianPaths.CacheDirstraight toCleanCacheDirectory(cli/managedsoftwareupdate/Program.cs:482) instead of the loadedconfig.CachePath(Models/UpdateModels.cs:17). Every other cache-aware path uses the configured value —--show-configprints it (:255) and the cache-age report reads it (:354).On a client with
CachePathpointed somewhere other than the default,--clean-cachereports success while the directory that is actually filling the disk is untouched.Follow-up to #114, which fixed the directory the flag looked in but left it reading the constant rather than the configuration.