Project

General

Profile

« Previous | Next » 

Revision 2581

Added by Jing Tao about 19 years ago

Use a util function to get replication server.

View differences:

src/edu/ucsb/nceas/metacat/MetacatReplication.java
1119 1119

  
1120 1120
      // Append local server's name and replication servlet to doclist
1121 1121
      doclist.append("<?xml version=\"1.0\"?><replication>");
1122
      doclist.append("<server>").append(util.getOption("server"));
1123
      doclist.append(util.getOption("replicationpath"));
1122
      doclist.append("<server>").append(util.getLocalReplicationServerName());
1123
      //doclist.append(util.getOption("replicationpath"));
1124 1124
      doclist.append("</server><updates>");
1125 1125

  
1126 1126
      // Get correct docid that reside on this server according the requesting

Also available in: Unified diff