mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/bytesutil: substitute parentheses with slashes in ByteBuffer.Path() output, so it can be passed to path manipulating functions
This is needed for the upcoming VictoriaLogs
This commit is contained in:
parent
427ce69426
commit
af6c14d5e7
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ type ByteBuffer struct {
|
|||
|
||||
// Path returns an unique id for bb.
|
||||
func (bb *ByteBuffer) Path() string {
|
||||
return fmt.Sprintf("ByteBuffer(%p)", bb)
|
||||
return fmt.Sprintf("ByteBuffer/%p/mem", bb)
|
||||
}
|
||||
|
||||
// Reset resets bb.
|
||||
|
|
Loading…
Reference in a new issue