Skip to content

Commit 04f6e30

Browse files
committed
adding additional experimental ReadFile update
1 parent b7884d0 commit 04f6e30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/mode/static/nginx/runtime/manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type ProcessHandler interface {
5656
ctx context.Context,
5757
timeout time.Duration,
5858
) (int, error)
59-
readFile(file string) ([]byte, error)
59+
ReadFile(file string) ([]byte, error)
6060
Kill(pid int) error
6161
}
6262

@@ -130,7 +130,7 @@ func (m *ManagerImpl) Reload(ctx context.Context, configVersion int) error {
130130
}
131131

132132
childProcFile := fmt.Sprintf(childProcPathFmt, pid)
133-
previousChildProcesses, err := m.processHandler.readFile(childProcFile)
133+
previousChildProcesses, err := m.processHandler.ReadFile(childProcFile)
134134
if err != nil {
135135
return err
136136
}

0 commit comments

Comments
 (0)