Skip to content

Commit 985e19e

Browse files
committed
tuned: controller: fix run directory
Fix the runtime directory to be forward compatible xref: openshift#1019 (comment) Signed-off-by: Francesco Romani <[email protected]>
1 parent 0413618 commit 985e19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tuned/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const (
8080
// be generous and give it 10s.
8181
tunedGracefulExitWait = time.Second * time.Duration(10)
8282
ocpTunedHome = "/var/lib/ocp-tuned"
83-
ocpTunedRunDir = "/run/" + programName
83+
ocpTunedRunDir = "/run/ocp-tuned"
8484
ocpTunedProvider = ocpTunedHome + "/provider"
8585
// With the less aggressive rate limiter, retries will happen at 100ms*2^(retry_n-1):
8686
// 100ms, 200ms, 400ms, 800ms, 1.6s, 3.2s, 6.4s, 12.8s, 25.6s, 51.2s, 102.4s, 3.4m, 6.8m, 13.7m, 27.3m

0 commit comments

Comments
 (0)