mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #55485 from nextcloud/info-no-suggest-object-scan
fix: don't suggest files:scan with object store in info:file
This commit is contained in:
commit
4d23a952c1
1 changed files with 3 additions and 1 deletions
|
|
@ -100,7 +100,9 @@ class File extends Command {
|
|||
}, $children));
|
||||
if ($childSize != $node->getSize()) {
|
||||
$output->writeln(' <error>warning: folder has a size of ' . Util::humanFileSize($node->getSize()) . " but it's children sum up to " . Util::humanFileSize($childSize) . '</error>.');
|
||||
$output->writeln(' Run <info>occ files:scan --path ' . $node->getPath() . '</info> to attempt to resolve this.');
|
||||
if (!$node->getStorage()->instanceOfStorage(ObjectStoreStorage::class)) {
|
||||
$output->writeln(' Run <info>occ files:scan --path ' . $node->getPath() . '</info> to attempt to resolve this.');
|
||||
}
|
||||
}
|
||||
if ($showChildren) {
|
||||
$output->writeln(' children: ' . count($children) . ':');
|
||||
|
|
|
|||
Loading…
Reference in a new issue