Skip to content

Commit 24822b7

Browse files
authored
fix(collector): cluster-resources PV filename pattern (#1262)
1 parent 784918e commit 24822b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/collect/cluster_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func (c *CollectClusterResources) Collect(progressChan chan<- interface{}) (Coll
324324

325325
//Persistent Volumes
326326
pvs, pvsErrors := pvs(ctx, client)
327-
output.SaveResult(c.BundlePath, path.Join(constants.CLUSTER_RESOURCES_DIR, constants.CLUSTER_RESOURCES_PVS), bytes.NewBuffer(pvs))
327+
output.SaveResult(c.BundlePath, path.Join(constants.CLUSTER_RESOURCES_DIR, fmt.Sprintf("%s.json", constants.CLUSTER_RESOURCES_PVS)), bytes.NewBuffer(pvs))
328328
output.SaveResult(c.BundlePath, path.Join(constants.CLUSTER_RESOURCES_DIR, fmt.Sprintf("%s-errors.json", constants.CLUSTER_RESOURCES_PVS)), marshalErrors(pvsErrors))
329329

330330
//Persistent Volume Claims

0 commit comments

Comments
 (0)