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

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

Open
arianvp opened this issue Sep 11, 2019 · 0 comments
Open

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

arianvp opened this issue Sep 11, 2019 · 0 comments

Comments

@arianvp
Copy link

arianvp commented Sep 11, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant