Skip to content
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

agent-ctl: Unbreak build #1472

Merged
merged 3 commits into from
Mar 8, 2021

Commits on Mar 5, 2021

  1. build: Remove whitespace

    Zap trailing whitespace.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    efe625d View commit details
    Browse the repository at this point in the history
  2. agent-ctl: Unbreak build

    The recent switch to an async rust agent broke the `agent-ctl` tool.
    However, we didn't notice because that isn't being built by the CI.
    
    Fix the breakage by passing a ttRPC context to all ttRPC API calls and
    also build the tool as part of the static checks CI.
    
    Fixes: kata-containers#1471.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    fcd45de View commit details
    Browse the repository at this point in the history
  3. agent-ctl: Function parameter cleanup

    Remove unused function parameters from the following types:
    
    - `AgentCmdFp`: Removed the config parameter and made
      the context parameter the first (à la golang).
    
    - `BuiltinCmdFp`: Removed the config and options parameters.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    c258ea2 View commit details
    Browse the repository at this point in the history