Skip to content

Commit 40664ff

Browse files
wip (#2704)
1 parent dac8a19 commit 40664ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/appClone/AppCloneService.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ package appClone
2020
import (
2121
"context"
2222
bean2 "github.com/devtron-labs/devtron/api/bean"
23-
"github.com/devtron-labs/devtron/internal/util"
2423
"github.com/devtron-labs/devtron/pkg/chart"
2524
"strings"
2625

@@ -597,8 +596,8 @@ func (impl *AppCloneServiceImpl) createWfMappings(refWfMappings []appWorkflow.Ap
597596
}
598597
}
599598
if len(webhookMappings) > 0 {
600-
err := &util.ApiError{Code: "501", HttpStatusCode: 501, UserMessage: "ref app has external ci configured, app clone does not supported this"}
601-
return err
599+
impl.logger.Warn("external ci webhook found in workflow, not supported for clone")
600+
return nil
602601
}
603602
if len(ciMapping) == 0 {
604603
impl.logger.Warn("no ci pipeline found")

0 commit comments

Comments
 (0)