lib/aptly_snapshot.rb in aptly_cli-0.2.2 vs lib/aptly_snapshot.rb in aptly_cli-0.2.3

- old
+ new

@@ -24,20 +24,20 @@ def snapshot_delete(name, force=nil) uri = "/snapshots/#{name}" if force == true - uri = uri + "?force=1" + uri += "?force=1" end self.class.delete(uri) end def snapshot_list(sort=nil) uri = "/snapshots" if sort - uri = uri + "?sort=#{sort}" + uri += "?sort=#{sort}" end self.class.get(uri) end