@@ -672,7 +672,7 @@ func storagePoolBucketPut(d *Daemon, r *http.Request) response.Response {
672672 location = request .QueryParam (r , "target" )
673673 }
674674
675- entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName )
675+ entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName ). Project ( effectiveProjectName )
676676
677677 run := func (ctx context.Context , op * operations.Operation ) error {
678678 err := details .pool .UpdateBucket (effectiveProjectName , details .bucketName , req )
@@ -754,7 +754,7 @@ func storagePoolBucketDelete(d *Daemon, r *http.Request) response.Response {
754754 location = request .QueryParam (r , "target" )
755755 }
756756
757- entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName )
757+ entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName ). Project ( effectiveProjectName )
758758
759759 run := func (ctx context.Context , op * operations.Operation ) error {
760760 err := doStorageBucketDelete (details .pool , effectiveProjectName , details .bucketName )
@@ -1015,7 +1015,7 @@ func storagePoolBucketKeysPost(d *Daemon, r *http.Request) response.Response {
10151015 location = request .QueryParam (r , "target" )
10161016 }
10171017
1018- entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName )
1018+ entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName ). Project ( effectiveProjectName )
10191019
10201020 run := func (ctx context.Context , op * operations.Operation ) error {
10211021 key , err := details .pool .CreateBucketKey (effectiveProjectName , details .bucketName , req )
@@ -1107,7 +1107,7 @@ func storagePoolBucketKeyDelete(d *Daemon, r *http.Request) response.Response {
11071107 location = request .QueryParam (r , "target" )
11081108 }
11091109
1110- entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName )
1110+ entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName ). Project ( effectiveProjectName )
11111111
11121112 run := func (ctx context.Context , op * operations.Operation ) error {
11131113 err := details .pool .DeleteBucketKey (effectiveProjectName , details .bucketName , keyName )
@@ -1303,7 +1303,7 @@ func storagePoolBucketKeyPut(d *Daemon, r *http.Request) response.Response {
13031303 location = request .QueryParam (r , "target" )
13041304 }
13051305
1306- entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName )
1306+ entityURL := entity .StorageBucketURL (effectiveProjectName , location , details .pool .Name (), details .bucketName ). Project ( effectiveProjectName )
13071307
13081308 run := func (ctx context.Context , op * operations.Operation ) error {
13091309 err := details .pool .UpdateBucketKey (effectiveProjectName , details .bucketName , keyName , req )
0 commit comments