added a conditional check to not replace the base url if it shuffler.io

This commit is contained in:
satti-hari-krishna-reddy
2024-05-21 15:31:21 +05:30
parent abef955448
commit 2efa051f68
+2 -1
View File
@@ -2286,8 +2286,9 @@ func createPipeline(command, identifier string) (string, error) {
log.Printf("[INFO] an existing pipeline found with ID: %s. it will be deleted", pipelineId)
toBeDeleted = true
}
if strings.Contains(command, "shuffler.io") {
if strings.Contains(command, "kafka") {
} else {
var scheme string
if strings.Contains(command, "http://") {
scheme = "http://"