Skip to content

Commit

Permalink
endpoint add nodeName
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Jan 2, 2024
1 parent 4543531 commit b4890b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion servant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ foreach (FILE ${SRC_LIST})
OUTPUT ${CP_SOURCE_H_DIR}/${TARS_H}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${CMAKE_COMMAND} -E copy ${TARS_H} ${CP_SOURCE_H_DIR}
DEPENDS ${FILE} tars2cpp
DEPENDS ${FILE} ${CP_SOURCE_H_DIR}/${TARS_H} tars2cpp
COMMENT "${CMAKE_COMMAND} -E copy ${TARS_H} ${CP_SOURCE_H_DIR}")

#设置依赖
Expand Down
1 change: 1 addition & 0 deletions servant/EndpointF.tars
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module tars
11 optional int weight;
12 optional int weightType;
13 optional int authType;
14 optional string nodeName;
};
key[EndpointF, host, port, timeout, istcp, grid, qos, weight, weightType, authType];
};
Expand Down

0 comments on commit b4890b1

Please sign in to comment.