mirror of https://github.com/apache/druid.git
assume scheme to be http if not present (#4912)
This commit is contained in:
parent
0e856ee806
commit
535c034c06
|
@ -44,7 +44,7 @@ public class Worker
|
|||
@JsonProperty("version") String version
|
||||
)
|
||||
{
|
||||
this.scheme = scheme;
|
||||
this.scheme = scheme == null ? "http" : scheme; // needed for backwards compatibility with older workers (pre-#4270)
|
||||
this.host = host;
|
||||
this.ip = ip;
|
||||
this.capacity = capacity;
|
||||
|
|
Loading…
Reference in New Issue