Use event service post for shim events
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -56,8 +56,8 @@ type bundle struct {
|
||||
}
|
||||
|
||||
// NewShim connects to the shim managing the bundle and tasks
|
||||
func (b *bundle) NewShim(ctx context.Context, binary string, remote bool) (*client.Client, error) {
|
||||
opt := client.WithStart(binary)
|
||||
func (b *bundle) NewShim(ctx context.Context, binary, grpcAddress string, remote bool) (*client.Client, error) {
|
||||
opt := client.WithStart(binary, grpcAddress)
|
||||
if !remote {
|
||||
opt = client.WithLocal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user