Fix: Pass down context to CLI commands

This commit is contained in:
Quentin McGaw
2021-01-30 17:29:27 +00:00
parent 702eafae4c
commit 75fdf7adab
3 changed files with 7 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ type CLI interface {
ClientKey(args []string, openFile os.OpenFileFunc) error
HealthCheck(ctx context.Context) error
OpenvpnConfig(os os.OS) error
Update(args []string, os os.OS) error
Update(ctx context.Context, args []string, os os.OS) error
}
type cli struct{}