Skip to content

Commit

Permalink
Syntax errors fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
minter committed Feb 26, 2011
1 parent ff047eb commit 4480e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloudlb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require 'cloudlb'

Gem::Specification.new do |s|
s.name = "cloudlb"
s.version = LoadBalancers::VERSION
s.version = CloudLB::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["H. Wade Minter"]
s.email = ["minter@lunenburg.org"]
Expand Down
4 changes: 2 additions & 2 deletions lib/cloudlb/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def list_protocols
CloudLB::Exception.raise_exception(response) unless response.code.to_s.match(/^20.$/)
CloudLB.symbolize_keys(JSON.parse(response.body)["protocols"])
end
alias :protocols, :list_protocols
alias :protocols :list_protocols

# Returns a list of balancer algorithms that are currently supported by the Cloud Load Balancer product.
#
Expand All @@ -139,7 +139,7 @@ def list_algorithms
CloudLB::Exception.raise_exception(response) unless response.code.to_s.match(/^20.$/)
CloudLB.symbolize_keys(JSON.parse(response.body)["algorithms"])
end
alias :algorithms, :list_algorithms
alias :algorithms :list_algorithms


# This method actually makes the HTTP REST calls out to the server. Relies on the thread-safe typhoeus
Expand Down

0 comments on commit 4480e67

Please sign in to comment.