Skip to content

Commit

Permalink
monasca: Fix restore condition (SOC-9772) (#2272)
Browse files Browse the repository at this point in the history
monasca: Fix restore condition (SOC-9772)
  • Loading branch information
skazi0 authored Oct 1, 2019
2 parents d07da45 + 9078337 commit 15b24be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chef/cookbooks/monasca/recipes/monasca_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
" #{mondb_database}"
not_if "monasca_db version" # If DB is stamped with an Alembic version, this already happened.
action :run
only_if File.exist?(db_backup_path)
only_if { File.exist?(db_backup_path) }
notifies :run, "execute[stamp Monasca DB]", :immediately
end

Expand Down

0 comments on commit 15b24be

Please sign in to comment.