You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell, it's not easy to mock the AWS Go SDK ec2metadata.New(). There's commented out code from where I tried to write a wrapper for this but, while it worked in the tests, running inside AWS this threw a segfault.
I expect it's fixable but at the moment it means we've got no tests for getUserData() in eks.go.
The text was updated successfully, but these errors were encountered:
From what I can tell, it's not easy to mock the AWS Go SDK
ec2metadata.New()
. There's commented out code from where I tried to write a wrapper for this but, while it worked in the tests, running inside AWS this threw a segfault.I expect it's fixable but at the moment it means we've got no tests for
getUserData()
ineks.go
.The text was updated successfully, but these errors were encountered: