mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for AllocOne (#14202)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/14205/merge
parent
3e2332bb3c
commit
dc3c72b9b6
|
@ -72,6 +72,7 @@ func (ta *timestampAllocator) alloc(count uint32) ([]Timestamp, error) {
|
||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AllocOne allocates a timestamp.
|
||||||
func (ta *timestampAllocator) AllocOne() (Timestamp, error) {
|
func (ta *timestampAllocator) AllocOne() (Timestamp, error) {
|
||||||
ret, err := ta.alloc(1)
|
ret, err := ta.alloc(1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue