Skip to content

Commit

Permalink
chore: fix tiny typo in french translation
Browse files Browse the repository at this point in the history
  • Loading branch information
YuukanOO committed Apr 18, 2024
1 parent 7ad2efc commit 490b7d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/serve/front/src/lib/localization/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Cette action est IRRÉVERSIBLE et supprimera TOUTES LES DONNÉES associées : co
'deployment.finished_at': 'terminé à',
'deployment.queued_at': 'demandé à',
'deployment.duration': 'durée',
'deployment.services': 'services exposés',
'deployment.services': 'services déployés',
'deployment.branch': 'branche',
'deployment.commit': 'commit',
'deployment.error_code': 'code erreur',
Expand Down
3 changes: 0 additions & 3 deletions pkg/bus/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ type (
// Queue a request to be dispatched asynchronously at a later time.
// The string parameter is the dedupe name and provide a way to avoid multiple
// messages sharing the same dedupe name to be processed at the same time.
//
// You MUST register the type of Request using bus.RegisterForMarshalling[YourRequest]()
// to make sure the scheduler will be able to (de)serialize the request when persisting.
Queue(context.Context, Request, monad.Maybe[string], JobErrPolicy) error
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/bus/sqlite/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func (j *job) ID() string { return j.id }
func (j *job) Message() bus.Request { return j.msg }
func (j *job) Policy() bus.JobErrPolicy { return j.policy }

// Builds a new adapter persisting jobs in the given sqlite database.
// For it to work, commands must be (de)serializable using the bus.Marshallable mapper.
func NewSchedulerAdapter(db *sqlite.Database) bus.SchedulerAdapter {
return &scheduler{db}
}
Expand Down

0 comments on commit 490b7d1

Please sign in to comment.