mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-13 13:11:37 +01: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
@ -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 New Issue
Block a user