Skip to content

cli panics when reporting success #8

@JustSamAgain

Description

@JustSamAgain

Currently the CLI panics if we try to report success to it using the following rust code:

client
        .post(minion_api.join("agent/task/complete").unwrap())
        .bearer_auth(minion_token)
        .header("Content-Type", "application/json")
        .body(body)
        .send()

The errormessage is the following one:

Task completed
Not implemented yet

thread 'main' panicked at src/cli/mod.rs:112:22:
Failed to run task: Working directory has unstaged changes; aborting.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions