Fix malformed error log (#19589)

issue: #19553

/kind bug

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
This commit is contained in:
Ten Thousand Leaves 2022-09-30 17:22:54 +08:00 committed by GitHub
parent 2e9a08aecf
commit ccecd6a76a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,7 +672,8 @@ func (mt *MetaTable) GetPartitionByName(collID UniqueID, partitionName string, t
}
}
return common.InvalidPartitionID, fmt.Errorf("partition ")
return common.InvalidPartitionID, fmt.Errorf("partition ID not found for partition name %s in collection %d",
partitionName, collID)
}
// AddCredential add credential