-
Notifications
You must be signed in to change notification settings - Fork 210
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
hooks: Add new hook SetupAndValidate() #1816
hooks: Add new hook SetupAndValidate() #1816
Conversation
efe6173
to
dcff8d8
Compare
dcff8d8
to
9abd429
Compare
9abd429
to
37d4983
Compare
This allows updating cilium-cli externally with extended initialisation, setup and validation. Signed-off-by: Donia Chaiehloudj <[email protected]>
37d4983
to
fb5fcb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
It looks like there are some unrelated formatting changes in the 2nd commit which are reverted in the 3rd commit. Might be worth to run gofmt
at each commit to avoid these.
Add a new method NameWithoutNamespace on service entity to return only the service name without the namespace prefix. This allows to shoot the domain address. Signed-off-by: Donia Chaiehloudj <[email protected]>
Previously, the log error was not formatted properly: "context timeout: %!w(string=context deadline exceeded)", now it prints the error message a string: "context timeout: context deadline exceeded". Signed-off-by: Donia Chaiehloudj <[email protected]>
fb5fcb1
to
42e777f
Compare
FYI, I've force pushed to this branch to omit the formatting changes so we can merge this PR for v0.15.2. |
@tklauser Thanks a lot for fixing my commits ❤️ and merging! |
SetupAndValidate
.