diff --git a/bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go b/bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go index 3b3744cf72..1742e63fbf 100644 --- a/bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go +++ b/bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go @@ -498,7 +498,8 @@ func (cli *PermVerifyClient) verifyClientNSScopedPermission(ctx context.Context, } // getProjectFromResource -func (cli *PermVerifyClient) getProjectFromResource(ctx context.Context, resource ClusterResource) (*component.Project, error) { +func (cli *PermVerifyClient) getProjectFromResource( + ctx context.Context, resource ClusterResource) (*component.Project, error) { if resource.ClusterID == "" { return nil, fmt.Errorf("resource clusterID is null") }