Преглед изворни кода

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 пре 4 година
родитељ
комит
2f451a88db
1 измењених фајлова са 1 додато и 1 уклоњено
  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();