Skip to content

Conversation

@dcelasun
Copy link
Member

Opening this here because my free Travis account has its builds killed after 50 minutes.

s := NewTestStruct()
fmt.Sprintf("%v", s.read)
fmt.Sprintf("%v", s.write)
_ = s.read
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.. I had done everything else but I had no idea how to fix this in golang. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is s.read and s.write are functions and there just isn't any way to print functions as strings, so I had to find another way to use them without trying to stringify them.

@jeking3
Copy link
Contributor

jeking3 commented Mar 15, 2018

I'll keep an eye on this. Right now the docker images on docker.io have to be generated manually every time they are updated, otherwise the build jobs take more time than they should.

@dcelasun
Copy link
Member Author

dcelasun commented Mar 15, 2018

Failures seem unrelated. Should I merge or do you need to do something on docker.io?

@jeking3
Copy link
Contributor

jeking3 commented Mar 15, 2018

Go ahead and merge. After you merge, I update my fork and kick a build on my account to refresh the images. It's an optimization that saves ~10 minutes per build job.

@asfgit asfgit merged commit a9efd1a into apache:master Mar 15, 2018
@dcelasun dcelasun deleted the THRIFT-4516 branch March 15, 2018 16:12
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.

3 participants