Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Fixed applying empty/nil addons specs
Browse files Browse the repository at this point in the history
[#154030804]

Signed-off-by: Sagar Muchhal <muchhals@vmware.com>
  • Loading branch information
tvs authored and srm09 committed Jan 4, 2018
1 parent 4aa3ced commit 337a2de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jobs/apply-specs/templates/bin/deploy-specs.erb
Expand Up @@ -15,9 +15,10 @@ wait_for() {
}

main() {

<% if p('addons-spec') != "" %>
<% if !p('addons-spec').empty? and p('addons-spec') != "nil" %>
apply_spec ${spec_dir}/addon-spec.yml
<% else %>
echo "No addons to apply."
<% end %>
}

Expand Down

0 comments on commit 337a2de

Please sign in to comment.