mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 13:00:16 +00:00
Skip inactive storages during content scans
This commit is contained in:
parent
50f8b76921
commit
23d194128d
4 changed files with 32 additions and 1 deletions
|
|
@ -85,6 +85,9 @@ func (m *Monitor) collectContainerRootUsage(ctx context.Context, client PVEClien
|
|||
if !storageSupportsContainerVolumes(storage.Content) {
|
||||
continue
|
||||
}
|
||||
if !storageContentQueryable(storage) {
|
||||
continue
|
||||
}
|
||||
|
||||
contents, err := client.GetStorageContent(ctx, node, storage.Storage)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue