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
78eaa056c0
commit
c1bed35b39
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