Skip to content

Commit

Permalink
updated stageTime-informer 24.0220.1418 for tag version v0.1.95
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Feb 20, 2024
1 parent c7831ed commit 9a1cae2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@ func verifyInformerStatus(kind, function string, obj interface{}) {
setRevisionRunStatus(pipelineRunLabels["stagetime/commit"], stageID, true)
} else {
nextStageIDBuilder := strings.LastIndex(stageID, "-")

nextStageID := replaceLastOccurrenceInSubstring(stageID[:nextStageIDBuilder]+"+"+sthingsBase.ConvertIntegerToString(currentStageNumber+1), "-", "+")

fmt.Println("NEXT STAGE!?", nextStageID)
SendStageToMessageQueue(nextStageID)
// SendStageToMessageQueue(nextStageID)
}
}

Expand Down

0 comments on commit 9a1cae2

Please sign in to comment.