Skip to content

Conversation

@fearful-symmetry
Copy link
Contributor

Followup to #192, elastic-agent has a getOptions() method that checks any options passed to the underlying ucfg calls. It expects the options to be of type Option. Alas, without explicitly setting the type in the declaration, go will read the type as func(*option) instead of the Option type alas.

@fearful-symmetry fearful-symmetry merged commit 5edd2c2 into elastic:main Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants