Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

What is the purpose of Shutdown(ctx context.Context) ? #15

@arianvp

Description

@arianvp

func (d *Driver) Shutdown(ctx context.Context) error {

Reading the nomad source code, this function is never called by nomad. Instead,
nomad calls a function Shutdown() error (without a context) instead.

I am asking because i'm trying to implement my own driver and I can't get it to cleanly shutdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions