Skip to content

Fix: fix perfcounter.json and exec file in the same directory#2

Open
qlans wants to merge 1 commit intoniean:masterfrom
qlans:featrue_0.0.2
Open

Fix: fix perfcounter.json and exec file in the same directory#2
qlans wants to merge 1 commit intoniean:masterfrom
qlans:featrue_0.0.2

Conversation

@qlans
Copy link

@qlans qlans commented Aug 1, 2019

目前获取perfcounter.json文件的路径是在运行golang二进制文件时shell所在目录,而不是“配置文件必须和golang二进制文件应用文件,在同一目录”。
现在修改为先获取“运行golang二进制文件时shell所在目录”,如果不存在,再从golang二进制文件应用文件目录获取

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.

1 participant