Skip to content

Commit

Permalink
docker: use pointer for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Sep 26, 2019
1 parent f083503 commit cf9752b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topology/probes/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (p *ProbeHandler) registerContainer(id string) {

pid := int64(info.State.Pid)

dockerMetadata := Metadata{
dockerMetadata := &Metadata{
ContainerID: info.ID,
ContainerName: info.Name[1:],
}
Expand Down

0 comments on commit cf9752b

Please sign in to comment.