Skip to content

Commit

Permalink
fix: Fix DisableMemDump using wrong Opts #105 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlanCI authored Jul 3, 2022
1 parent aca53eb commit aeecd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holmes.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (h *Holmes) EnableMemDump() *Holmes {

// DisableMemDump disables the mem dump.
func (h *Holmes) DisableMemDump() *Holmes {
h.opts.gCHeapOpts.Enable = false
h.opts.memOpts.Enable = false
return h
}

Expand Down

0 comments on commit aeecd7c

Please sign in to comment.