Skip to content

Commit

Permalink
fix irregular white space error
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezystem authored Nov 21, 2023
1 parent 15467aa commit 8291026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registry/discoverers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function resolve(opt) {
let DiscovererClass = getByName(opt);
if (DiscovererClass) return new DiscovererClass();

if (opt.startsWith("redis://") || opt.startsWith("rediss://")) return new Discoverers.Redis(opt);
if (opt.startsWith("redis://") || opt.startsWith("rediss://")) return new Discoverers.Redis(opt);

if (opt.startsWith("etcd3://")) return new Discoverers.Etcd3(opt);

Expand Down

0 comments on commit 8291026

Please sign in to comment.