Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavgore09 committed Feb 8, 2018
1 parent dd7e8c6 commit ee99ef0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vars/deployPlannerSnapshot.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def call(body) {

yaml = flow.getUrlAsString(openShiftTemplate)
yaml = Pattern.compile("- image: ${originalImageName}:(.*)").matcher(yaml).replaceFirst("- image: ${newImageName}")
// yaml = Pattern.compile("${originalImageName}").matcher(yaml).replaceFirst("${newImageName}")

if (!yaml.contains(newImageName)){
error "original image ${originalImageName} not replaced with ${newImageName} in yaml: \n ${yaml}"
Expand Down

0 comments on commit ee99ef0

Please sign in to comment.