removing a log message that is not needed

This commit is contained in:
satti-hari-krishna-reddy
2024-05-22 20:53:27 +05:30
parent a61984a70c
commit e4615892cf
+1 -4
View File
@@ -2091,8 +2091,6 @@ func handlePipeline(incRequest shuffle.ExecutionRequest) error {
if err != nil { if err != nil {
log.Printf("[ERROR] Failed Deleting Pipeline %s", err) log.Printf("[ERROR] Failed Deleting Pipeline %s", err)
return err return err
} else {
log.Printf("[INFO] successfully deleted the Pipeline: %s", pipelineId)
} }
} else if incRequest.Type == "PIPELINE_STOP" { } else if incRequest.Type == "PIPELINE_STOP" {
log.Printf("[INFO] Should stop the pipeline %#v", identifier) log.Printf("[INFO] Should stop the pipeline %#v", identifier)
@@ -2301,7 +2299,7 @@ func createPipeline(command, identifier string) (string, error) {
if err != nil { if err != nil {
if strings.Contains(fmt.Sprintf("%s", err), "no existing pipeline found") { if strings.Contains(fmt.Sprintf("%s", err), "no existing pipeline found") {
log.Printf("[INFO] No existing pipeline found with name: %s. Creating a new one!", identifier) log.Printf("[INFO] No existing pipeline found with id: %s. Creating a new one!", identifier)
} else { } else {
log.Printf("[ERROR] Failed to search for existing pipeline but continuing anyway : %s", err) log.Printf("[ERROR] Failed to search for existing pipeline but continuing anyway : %s", err)
} }
@@ -2327,7 +2325,6 @@ func createPipeline(command, identifier string) (string, error) {
command = command[:startIndex] + baseUrl + command[endIndex:] command = command[:startIndex] + baseUrl + command[endIndex:]
} }
} }
requestBody := map[string]interface{}{ requestBody := map[string]interface{}{
"definition": command, "definition": command,
"name": identifier, "name": identifier,