Skip to content

Commit

Permalink
Host names now allow dashes and dots
Browse files Browse the repository at this point in the history
  • Loading branch information
marcqualie committed Apr 30, 2013
1 parent e2c63a4 commit 19e00df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pearl/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def self.execute(*args)

Pearl.droplet(droplet_id)
exit
when /\Adroplet add \w{3,}\z/i
when /\Adroplet add [\w\-\.]{3,}\z/i
image_id = image.to_i
raise 'Error: Invalid image id.' if image_id == 0 || !image_id.is_a?(Fixnum)

Expand Down

0 comments on commit 19e00df

Please sign in to comment.