diff --git a/lib/redix/uri.ex b/lib/redix/uri.ex index 686298d..a2f8aee 100644 --- a/lib/redix/uri.ex +++ b/lib/redix/uri.ex @@ -12,7 +12,7 @@ defmodule Redix.URI do redis://[username:password@]host[:port][/db] -> #### Valkey {: .tip} + > #### Valkey {: .tip} > > URIs also work with [Valkey](https://valkey.io/), a Redis-compatible in-memory key-value > store. Use `valkey://` as the scheme instead of `redis://`. @@ -32,7 +32,8 @@ defmodule Redix.URI do %URI{host: host, port: port, scheme: scheme} = uri = URI.parse(uri) unless scheme in ["redis", "rediss", "valkey"] do - raise ArgumentError, "expected scheme to be redis://, valkey://, or rediss://, got: #{scheme}://" + raise ArgumentError, + "expected scheme to be redis://, valkey://, or rediss://, got: #{scheme}://" end {username, password} = username_and_password(uri)