Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 29, 2022
1 parent 1d24834 commit bd64705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/job/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ func Get(t string) Job {
}
}

type JobConfig interface {
type Config interface {
FromGlobal(GlobalConfig)
}

func ParseConfig(c JobConfig, args config.Args, global GlobalConfig) error {
func ParseConfig(c Config, args config.Args, global GlobalConfig) error {
if err := utils.Decode(args, c); err != nil {
return err
}
Expand Down

0 comments on commit bd64705

Please sign in to comment.