refmt
This commit is contained in:
@@ -11,7 +11,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
package devops
|
package devops
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -27,7 +26,6 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func GetDevOpsProjectMembersHandler(request *restful.Request, resp *restful.Response) {
|
func GetDevOpsProjectMembersHandler(request *restful.Request, resp *restful.Response) {
|
||||||
|
|
||||||
projectId := request.PathParameter("devops")
|
projectId := request.PathParameter("devops")
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ import (
|
|||||||
"kubesphere.io/kubesphere/pkg/simple/client/devops_mysql"
|
"kubesphere.io/kubesphere/pkg/simple/client/devops_mysql"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func GetProjectMembers(projectId string, conditions *params.Conditions, orderBy string, reverse bool, limit int, offset int) (*models.PageableResponse, error) {
|
func GetProjectMembers(projectId string, conditions *params.Conditions, orderBy string, reverse bool, limit int, offset int) (*models.PageableResponse, error) {
|
||||||
dbconn := devops_mysql.OpenDatabase()
|
dbconn := devops_mysql.OpenDatabase()
|
||||||
memberships := make([]*DevOpsProjectMembership, 0)
|
memberships := make([]*DevOpsProjectMembership, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user