Skip to content

Commit

Permalink
fix: incorrect cmd issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Apr 5, 2023
1 parent ac14e9a commit 8b7ee05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/default_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package config

var DefaultConfigYaml = `
info:
version: v0.6.0
version: v0.6.1
edition: global.edition.community
mongo:
host: localhost
Expand Down
2 changes: 1 addition & 1 deletion spider/admin/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (svc *Service) scheduleTasks(s *models.Spider, opts *interfaces.SpiderRunOp
// TODO: implement associated tasks
//ParentId: mainTask.Id,
Mode: opts.Mode,
Cmd: s.Cmd,
Cmd: opts.Cmd,
Param: opts.Param,
NodeId: nodeId,
ScheduleId: opts.ScheduleId,
Expand Down

0 comments on commit 8b7ee05

Please sign in to comment.