[skip ci ]Add join id path comment (#9718)

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
pull/9743/head
godchen 2021-10-12 19:23:39 +08:00 committed by GitHub
parent 806973fe83
commit 653ba91cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 {