mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 18:50:26 +08:00
集群可以单独设置WebP策略
This commit is contained in:
@@ -1058,7 +1058,7 @@ func (this *NodeClusterService) UpdateNodeClusterPinned(ctx context.Context, req
|
|||||||
|
|
||||||
// FindEnabledNodeClusterWebPPolicy 读取集群WebP策略
|
// FindEnabledNodeClusterWebPPolicy 读取集群WebP策略
|
||||||
func (this *NodeClusterService) FindEnabledNodeClusterWebPPolicy(ctx context.Context, req *pb.FindEnabledNodeClusterWebPPolicyRequest) (*pb.FindEnabledNodeClusterWebPPolicyResponse, error) {
|
func (this *NodeClusterService) FindEnabledNodeClusterWebPPolicy(ctx context.Context, req *pb.FindEnabledNodeClusterWebPPolicyRequest) (*pb.FindEnabledNodeClusterWebPPolicyResponse, error) {
|
||||||
_, err := this.ValidateAdmin(ctx, 0)
|
_, _, err := this.ValidateAdminAndUser(ctx, 0, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user