main.go calls deprecated code
main.go calls 'runtime/debug' 's Stack() function, which is deprecated according golang documentation and this closed issue: https://codereview.appspot.com/7004050:
func displayCrashDialog(errorMessage string) {
...
stackTrace := "\t" + strings.Replace(string(debug.Stack()), "\n", "\n\t", -1)
...
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/72493308.
Cool. Want to issue a pull request?
We're not really too concerned about this so we probably won't fix it until it's actually no longer in golang. As far as I know this will still be in 1.3.
Sent From A Very Small Keyboard
On Jun 2, 2014, at 17:45, weilanwu [email protected] wrote:
main.go calls 'runtime/debug' 's Stack() function, which is deprecated according golang documentation and this closed issue: https://codereview.appspot.com/7004050:
func displayCrashDialog(errorMessage string) {
...
stackTrace := "\t" + strings.Replace(string(debug.Stack()), "\n", "\n\t", -1)
... — Reply to this email directly or view it on GitHub.
Hi Tim,
Yes, I coded a patch and it’s sitting in my sandbox branch. OK, I will send pull request.
Thanks, Weilan
From: Tim Jarratt [mailto:[email protected]] Sent: Monday, June 02, 2014 6:06 PM To: cloudfoundry/cli Cc: Weilan W Wu Subject: Re: [cli] main.go calls deprecated code (#183)
Cool. Want to issue a pull request?
We're not really too concerned about this so we probably won't fix it until it's actually no longer in golang. As far as I know this will still be in 1.3.
Sent From A Very Small Keyboard
On Jun 2, 2014, at 17:45, weilanwu [email protected] wrote:
main.go calls 'runtime/debug' 's Stack() function, which is deprecated according golang documentation and this closed issue: https://codereview.appspot.com/7004050:
func displayCrashDialog(errorMessage string) {
...
stackTrace := "\t" + strings.Replace(string(debug.Stack()), "\n", "\n\t", -1)
... — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/cloudfoundry/cli/issues/183#issuecomment-44909519.
Now under #184 . Closing this one.