We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ef30c commit 116ec25Copy full SHA for 116ec25
pkg/http/data.go
@@ -85,6 +85,7 @@ func CheckPathOwner(r *http.Request, prefix string) bool {
85
pvc := ""
86
if drives.IsBaseDrives(srcType) {
87
pvc = rpc.ExtractPvcFromURL(src)
88
+ klog.Infof("pvc: %s", pvc)
89
if !strings.HasPrefix(pvc, "pvc-userspace-"+bfl+"-") && !strings.HasPrefix(pvc, "pvc-appcache-"+bfl+"-") {
90
return false
91
}
@@ -93,6 +94,7 @@ func CheckPathOwner(r *http.Request, prefix string) bool {
93
94
if prefix == "/api/paste" || (prefix == "/api/resources" && r.Method == http.MethodPatch) {
95
if drives.IsBaseDrives(dstType) {
96
97
98
99
100
0 commit comments