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

AMI , CoreStatus CoreStartupTime the value it is not correct #2

Open
GoogleCodeExporter opened this issue Dec 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi
I got an issue with CoreStatus action for get the asterisk start time.

As workaround I changed the function func (a *Asterisk) readDispatcher()

line : kvl := bytes.Split(line, []byte(_KEY_VAL_TERM))
to
line : kvl := bytes.SplitN(line, []byte(_KEY_VAL_TERM), 2)

After this modification I can get the correct value.

What you think about my modification?

Original issue reported on code.google.com by v.gontch...@gmail.com on 19 Dec 2014 at 2:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant