Skip to content

fix sr.Name空指针异常 - #472

Merged
wonderflow merged 2 commits into
qiniu:masterfrom
xxh2000:bugfix-script-reader
May 14, 2018
Merged

wonderflow merged 2 commits into
qiniu:masterfrom
xxh2000:bugfix-script-reader

Conversation

@xxh2000

@xxh2000 xxh2000 commented May 11, 2018

Copy link
Copy Markdown
Contributor

Fixes [471]

Changes

  • fixbug
    当添加从脚本收集的ScriptReader时,后台报空指针错误

Comment thread reader/script.go
if err != nil {
return
}
log.Infof("Runner[%v] %v Cron job added with schedule <%v>", ssr.meta.RunnerName, sr.Name(), cronSchedule)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面有同样的问题,一起修复了吧,多谢

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修复了

@wonderflow

Copy link
Copy Markdown
Contributor

LGTM

@wonderflow
wonderflow merged commit 7fe4a66 into qiniu:master May 14, 2018
@xxh2000
xxh2000 deleted the bugfix-script-reader branch August 27, 2018 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants