Skip to content

Commit

Permalink
refactor: add subtask register
Browse files Browse the repository at this point in the history
  • Loading branch information
chenggui53 committed Jun 24, 2023
1 parent a7ace81 commit 604d771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions backend/plugins/github/tasks/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
3 changes: 1 addition & 2 deletions backend/plugins/gitlab/tasks/pipeline_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
"github.com/apache/incubator-devlake/core/models/domainlayer/didgen"
"github.com/apache/incubator-devlake/core/plugin"
helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
"github.com/apache/incubator-devlake/plugins/gitlab/models"
gitlabModels "github.com/apache/incubator-devlake/plugins/gitlab/models"
)

Expand Down Expand Up @@ -65,7 +64,7 @@ func ConvertPipelines(taskCtx plugin.SubTaskContext) errors.Error {
Input: cursor,
RawDataSubTaskArgs: helper.RawDataSubTaskArgs{
Ctx: taskCtx,
Params: models.GitlabApiParams{
Params: gitlabModels.GitlabApiParams{
ConnectionId: data.Options.ConnectionId,
ProjectId: data.Options.ProjectId,
},
Expand Down

0 comments on commit 604d771

Please sign in to comment.