Skip to content

Commit

Permalink
Merge pull request #405 from wonderflow/changesender
Browse files Browse the repository at this point in the history
add format && release web for v1.4.6
  • Loading branch information
wonderflow authored Mar 28, 2018
2 parents c6203b9 + 1a21d82 commit 7b98b6c
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions public/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.6c555a08.css",
"main.css.map": "static/css/main.6c555a08.css.map",
"main.js": "static/js/main.3ebf324e.js",
"main.js.map": "static/js/main.3ebf324e.js.map"
"main.css": "static/css/main.756477a0.css",
"main.css.map": "static/css/main.756477a0.css.map",
"main.js": "static/js/main.3cae1596.js",
"main.js.map": "static/js/main.3cae1596.js.map"
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><style>#root,#root>.ant-spin-nested-loading,#root>.ant-spin-nested-loading>.ant-spin-container,.page,.tree,body,html{width:100%;height:100%;margin:0}</style><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="static/favicon.ico"><link href="/static/antd.css" rel="stylesheet"><title>七牛Logkit配置文件助手</title><link href="/static/css/main.6c555a08.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.3ebf324e.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><style>#root,#root>.ant-spin-nested-loading,#root>.ant-spin-nested-loading>.ant-spin-container,.page,.tree,body,html{width:100%;height:100%;margin:0}</style><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="static/favicon.ico"><link href="/static/antd.css" rel="stylesheet"><title>七牛Logkit配置文件助手</title><link href="/static/css/main.756477a0.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.3cae1596.js"></script></body></html>
2 changes: 1 addition & 1 deletion public/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions public/static/js/main.3cae1596.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions public/static/js/main.3ebf324e.js

This file was deleted.

4 changes: 2 additions & 2 deletions sender/pandora_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ func newPandoraSender(opt *PandoraOption) (s *PandoraSender, err error) {
schemas, err := pipeline.DSLtoSchema(dsl)
if err != nil {
log.Errorf("Runner[%v] Sender[%v]: auto create pandora repo error: %v, you can create on pandora portal, ignored...", opt.runnerName, opt.name, err)
err = nil
}
if initErr := s.client.InitOrUpdateWorkflow(&pipeline.InitOrUpdateWorkflowInput{
// 此处要的 schema 为 autoCreate 中用户指定的,所以 SchemaFree 要恒为 true
Expand Down Expand Up @@ -465,8 +466,7 @@ func newPandoraSender(opt *PandoraOption) (s *PandoraSender, err error) {
ForceDataConvert: s.opt.forceDataConvert,
},
}); initErr != nil {
err = fmt.Errorf("runner[%v] Sender [%v]: init Workflow error %v", opt.runnerName, opt.name, initErr)
return
log.Errorf("runner[%v] Sender [%v]: init Workflow error %v", opt.runnerName, opt.name, initErr)
}
s.UpdateSchemas()
return
Expand Down
4 changes: 2 additions & 2 deletions sender/rest_sender_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var ModeKeyOptions = map[string][]Option{
ChooseOnly: false,
Default: "",
Required: true,
Placeholder: "/home/john/mylogs/my.log",
Placeholder: "/home/john/mylogs/my-%Y-%m-%d.log",
DefaultNoUse: true,
Description: "发送到指定文件(file_send_path)",
},
Expand All @@ -110,7 +110,7 @@ var ModeKeyOptions = map[string][]Option{
Placeholder: "logkit_default_workflow",
DefaultNoUse: true,
Required: true,
Description: "工作流名称[留空使用旧版](pandora_workflow_name)",
Description: "工作流名称(pandora_workflow_name)",
CheckRegex: "^[a-zA-Z_][a-zA-Z0-9_]{0,127}$",
},
{
Expand Down

0 comments on commit 7b98b6c

Please sign in to comment.