Skip to content

Commit

Permalink
now warning users if they attempt to run-instances with an unsupporte…
Browse files Browse the repository at this point in the history
…d deployment strategy, fixing issue AppScale#35
  • Loading branch information
shatterednirvana committed Nov 27, 2012
1 parent 48ffb1f commit 72cd0df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/common_functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,13 @@ def self.generate_node_layout(options)
"file: \n#{node_layout.errors}")
end

if !node_layout.supported?
Kernel.puts("Warning: The deployment strategy specified in your " +
"YAML file is not officially tested in AppScale. Proceeding " +
"momentarily.")
Kernel.sleep(1)
end

return node_layout
end

Expand Down

0 comments on commit 72cd0df

Please sign in to comment.