Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文件推包之后服务器上的文件名字和类型有错误 #8

Closed
DeliaDing123 opened this issue Sep 6, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@DeliaDing123
Copy link

描述您遇到的bug
对bug进行清晰而简洁的描述
gns-query-0904.zip文件推包之后服务器上的文件名变成script-158415572。
传入参数如下:
msg="check parameters = {[{http://172.21.0.4:9000/wecube-artifact/43d260371c727283f5bb751da88275a9_gns-query-0904.zip 0012_0000000003 172.16.5.11 /data/gns-query-0904.zip}]}" func=github.com/WeBankPartners/wecube-plugins-saltstack/plugins.Process file="/go/src/github.com/WeBankPartners/wecube-plugins-saltstack/plugins/plugins.go:107"
输出参数入息a:msg="result=" func=github.com/WeBankPartners/wecube-plugins-saltstack/plugins.downloadS3File file="/go/src/github.com/WeBankPartners/wecube-plugins-saltstack/plugins/s3.go:103"
msg="call salt api request = {local ipcidr 172.16.5.11 cp.get_file [salt://base/script-810440920 /data/gns-query-0904.zip makedirs=true gzip=5]}" func=github.com/WeBankPartners/wecube-plugins-saltstack/plugins.CallSaltApi file="/go/src/github.com/WeBankPartners/wecube-plugins-saltstack/plugins/common.go:120"

如何重现
再现行为的步骤
调用file-copy插件实现文件推送包到服务器上。

预期行为
对你预期会发生的事情的清晰而简洁的描述。
希望传送的包名字不变。还是gns-query-0904.zip

@DeliaDing123 DeliaDing123 added the bug Something isn't working label Sep 6, 2019
@brankbao
Copy link
Collaborator

brankbao commented Sep 9, 2019

已和丁玲确认,配置目标路径的时候在路径后面跟上文件名

@brankbao brankbao closed this as completed Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants