Skip to content

Commit 403a637

Browse files
committed
fmt
1 parent f37242b commit 403a637

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

agent/agent.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ const (
6262

6363
// EnvProcPrioMgmt determines whether we attempt to manage
6464
// process CPU and OOM Killer priority.
65-
const EnvProcPrioMgmt = "CODER_PROC_PRIO_MGMT"
66-
const EnvProcOOMScore = "CODER_PROC_OOM_SCORE"
65+
const (
66+
EnvProcPrioMgmt = "CODER_PROC_PRIO_MGMT"
67+
EnvProcOOMScore = "CODER_PROC_OOM_SCORE"
68+
)
6769

6870
type Options struct {
6971
Filesystem afero.Fs

agent/agent_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2677,7 +2677,6 @@ func TestAgent_ManageProcessPriority(t *testing.T) {
26772677
for _, proc := range actualProcs {
26782678
requireFileEquals(t, fs, fmt.Sprintf("/proc/%d/oom_score_adj", proc.PID), "-567")
26792679
}
2680-
26812680
})
26822681

26832682
t.Run("DisabledByDefault", func(t *testing.T) {

0 commit comments

Comments
 (0)