mirror of https://github.com/milvus-io/milvus.git
[skip ci ]Add join id path comment (#9718)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>pull/9743/head
parent
806973fe83
commit
653ba91cc7
|
@ -79,6 +79,7 @@ func (alloc *allocator) genKey(isalloc bool, ids ...UniqueID) (string, error) {
|
|||
return JoinIDPath(ids...), nil
|
||||
}
|
||||
|
||||
// JoinIDPath joins ids to path format.
|
||||
func JoinIDPath(ids ...UniqueID) string {
|
||||
idStr := make([]string, len(ids))
|
||||
for _, id := range ids {
|
||||
|
|
Loading…
Reference in New Issue