Skip to content

Commit 8616ee1

Browse files
committed
Fix jma argument property
1 parent 156bccb commit 8616ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/frameworks/java_memory_assistant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (j *JavaMemoryAssistantFramework) buildAgentConfig() string {
152152

153153
// Max dump count (default: 1)
154154
maxDumpCount := config.CleanUp.MaxDumpCount
155-
configParts = append(configParts, fmt.Sprintf("max-dump-count=%s", maxDumpCount))
155+
configParts = append(configParts, fmt.Sprintf("max-dump-count=%v", maxDumpCount))
156156

157157
return strings.Join(configParts, ",")
158158
}

0 commit comments

Comments
 (0)