Jelajahi Sumber

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 tahun lalu
induk
melakukan
2f451a88db
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();