Skip to content

Commit

Permalink
refactor(be): rename LocalJobApp -> LocalApp
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin-quiz committed Jan 29, 2024
1 parent ed131bc commit d65d379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/tasks/LocalJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/ansible-semaphore/semaphore/util"
)

type LocalJobApp interface {
type LocalApp interface {
SetLogger(logger lib.Logger)
InstallRequirements() error
Run(args []string, environmentVars *[]string, cb func(*os.Process)) error
Expand All @@ -27,7 +27,7 @@ type LocalJob struct {
Environment db.Environment
Logger lib.Logger

App LocalJobApp
App LocalApp

// Internal field
Process *os.Process
Expand Down

0 comments on commit d65d379

Please sign in to comment.