Skip to content

Commit

Permalink
Update to use pallet.common.deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoduncan committed Apr 21, 2011
1 parent a57032f commit 9991939
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc-hosts/src/pallet/crate/etc_hosts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[pallet.action.file :as file]
[pallet.action.remote-file :as remote-file]
[pallet.argument :as argument]
[pallet.common.deprecate :as deprecate]
[pallet.compute :as compute]
[pallet.parameter :as parameter]
[pallet.script.lib :as lib]
Expand Down Expand Up @@ -41,8 +42,8 @@
"Declare host entries for all nodes of a tag"
{:deprecated "0.5.0"}
[session tag & {:keys [private-ip] :as opts}]
(utils/deprecated
(utils/deprecate-rename
(deprecate/deprecated
(deprecate/rename
'pallet.crate.etc-hosts-for-tag 'pallet.crate.etc-hosts/hosts-for-group))
(apply hosts-for-group session tag (apply concat opts)))

Expand Down

0 comments on commit 9991939

Please sign in to comment.