New link (#893)
This commit is contained in:
@@ -3851,6 +3851,9 @@ func init() {
|
||||
"storageClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenant": {
|
||||
"type": "string"
|
||||
},
|
||||
"volume": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -9281,6 +9284,9 @@ func init() {
|
||||
"storageClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenant": {
|
||||
"type": "string"
|
||||
},
|
||||
"volume": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ func getPVCsResponse(session *models.Principal) (*models.ListPVCsResponse, *mode
|
||||
Status: string(pvc.Status.Phase),
|
||||
StorageClass: *pvc.Spec.StorageClassName,
|
||||
Volume: pvc.Spec.VolumeName,
|
||||
Tenant: pvc.Labels["v1.min.io/tenant"],
|
||||
}
|
||||
|
||||
ListPVCs = append(ListPVCs, &pvcResponse)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user