Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
endpoint: do not pass endpoint model into
ProcessChangeRequest
The `newEp` parameter has all the information we need; we don't need to pass in the API model as well. As such, move the `ValidPatchTransitionState` function out of `pkg/endpoint` back to `daemon` since the Endpoint package should not be aware of what a `PATCH` operation is against it. Signed-off by: Ian Vernon <ian@cilium.io>
- Loading branch information
Ian Vernon
committed
Aug 21, 2019
1 parent
3b48100
commit e3ff094
Showing
2 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters