Explorar o código

Merge pull request #15029 from jakesmith/hpcc-26007-fix-getespurl-port

HPCC-26007 Use correct port in getEspUrl

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=4) %!d(string=hai) anos
pai
achega
2f451a88db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/fileservices/fileservices.cpp

+ 1 - 1
plugins/fileservices/fileservices.cpp

@@ -2940,7 +2940,7 @@ FILESERVICES_API char * FILESERVICES_CALL fsGetEspURL(const char *username, cons
             credentials.setf("%s@", username);
 
         const char *protocol = match->getPropBool("@tls") ? "https" : "http";
-        unsigned port = match->getPropInt("@servicePort", 8010);
+        unsigned port = match->getPropInt("@port", 8010);
 
         VStringBuffer espURL("mtls:%s://%s%s:%u", protocol, credentials.str(), espService, port);
         return espURL.detach();