@@ -87,15 +87,15 @@ interface Client {
87
87
getAllocationPolicies : ( storage : string ) => Promise < AllocationPolicy [ ] > ;
88
88
setAllocationPolicyConfig : (
89
89
configurable_component_namespace : string ,
90
- configurable_component_name : string ,
90
+ configurable_component_class_name : string ,
91
91
resource_name : string ,
92
92
key : string ,
93
93
value : string ,
94
94
params : object ,
95
95
) => Promise < void > ;
96
96
deleteAllocationPolicyConfig : (
97
97
configurable_component_namespace : string ,
98
- configurable_component_name : string ,
98
+ configurable_component_class_name : string ,
99
99
resource_name : string ,
100
100
key : string ,
101
101
params : object ,
@@ -462,7 +462,7 @@ function Client(): Client {
462
462
} ,
463
463
setAllocationPolicyConfig : (
464
464
configurable_component_namespace : string ,
465
- configurable_component_name : string ,
465
+ configurable_component_class_name : string ,
466
466
resource_name : string ,
467
467
key : string ,
468
468
value : string ,
@@ -472,7 +472,7 @@ function Client(): Client {
472
472
return fetch ( url , {
473
473
headers : { "Content-Type" : "application/json" } ,
474
474
method : "POST" ,
475
- body : JSON . stringify ( { configurable_component_namespace, configurable_component_name , resource_name, key, value, params } ) ,
475
+ body : JSON . stringify ( { configurable_component_namespace, configurable_component_class_name , resource_name, key, value, params } ) ,
476
476
} ) . then ( ( res ) => {
477
477
if ( res . ok ) {
478
478
return ;
@@ -486,7 +486,7 @@ function Client(): Client {
486
486
} ,
487
487
deleteAllocationPolicyConfig : (
488
488
configurable_component_namespace : string ,
489
- config_key : string ,
489
+ configurable_component_class_name : string ,
490
490
resource_name : string ,
491
491
key : string ,
492
492
params : object ,
@@ -495,7 +495,7 @@ function Client(): Client {
495
495
return fetch ( url , {
496
496
headers : { "Content-Type" : "application/json" } ,
497
497
method : "DELETE" ,
498
- body : JSON . stringify ( { configurable_component_namespace, config_key , resource_name, key, params } ) ,
498
+ body : JSON . stringify ( { configurable_component_namespace, configurable_component_class_name , resource_name, key, params } ) ,
499
499
} ) . then ( ( res ) => {
500
500
if ( res . ok ) {
501
501
return ;
0 commit comments