Unify the representation of the three dots.

This commit is contained in:
Maximilian Paß
2023-11-09 11:59:46 +01:00
committed by Sebastian Serth
parent 0f7e98f78e
commit 70c108aebf
6 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@ type codeOceanToRawReader struct {
executorCtx context.Context
// A buffered channel of bytes is used to store data coming from CodeOcean via WebSocket
// and retrieve it when Read(..) is called. Since channels are thread-safe, we use one here
// and retrieve it when Read(...) is called. Since channels are thread-safe, we use one here
// instead of bytes.Buffer.
buffer chan byte
// The priorityBuffer is a buffer for injecting data into stdin of the execution from Poseidon,

View File

@ -59,7 +59,7 @@ type writingLoopMessage struct {
}
// NewCodeOceanOutputWriter provides an codeOceanOutputWriter for the time the context ctx is active.
// The codeOceanOutputWriter handles all the messages defined in the websocket.schema.json (start, timeout, stdout, ..).
// The codeOceanOutputWriter handles all the messages defined in the websocket.schema.json (start, timeout, stdout, ...).
func NewCodeOceanOutputWriter(
connection Connection, ctx context.Context, done context.CancelFunc) WebSocketWriter {
cw := &codeOceanOutputWriter{

View File

@ -214,7 +214,7 @@ func (m *NomadEnvironmentManager) load() error {
for _, job := range templateJobs {
jobLogger := log.WithField("jobID", *job.ID)
if *job.Status != structs.JobStatusRunning {
jobLogger.Info("Job not running, skipping ...")
jobLogger.Info("Job not running, skipping...")
continue
}
configTaskGroup := nomad.FindAndValidateConfigTaskGroup(job)

View File

@ -174,7 +174,7 @@ func (m *NomadRunnerManager) load() {
usedRunners, err := m.loadEnvironment(environment)
if err != nil {
log.WithError(err).WithField(dto.KeyEnvironmentID, environment.ID().ToString()).
Warn("Failed loading environment. Skipping ...")
Warn("Failed loading environment. Skipping...")
continue
}
for _, r := range usedRunners.List() {
@ -195,7 +195,7 @@ func (m *NomadRunnerManager) loadEnvironment(environment ExecutionEnvironment) (
r, isUsed, err := m.loadSingleJob(job, environment)
if err != nil {
log.WithError(err).WithField(dto.KeyEnvironmentID, environment.ID().ToString()).
WithField("used", isUsed).Warn("Failed loading job. Skipping ...")
WithField("used", isUsed).Warn("Failed loading job. Skipping...")
continue
} else if isUsed {
used.Add(r.ID(), r)