Skip to content

Commit

Permalink
Merge pull request #32 from calmwave/fix-warnings
Browse files Browse the repository at this point in the history
fix warning from elixir 1.16.0
  • Loading branch information
kyleaa authored Jan 26, 2024
2 parents fcab9db + e8a3c86 commit 53c191d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libcluster_ec2.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule ClusterEC2 do
@spec instance_region() :: binary()
def instance_region do
case get("/placement/availability-zone/") do
{:ok, %{status: 200, body: body}} -> String.slice(body, 0..-2)
{:ok, %{status: 200, body: body}} -> String.slice(body, 0..-2//1)
_ -> ""
end
end
Expand Down

0 comments on commit 53c191d

Please sign in to comment.