mzq-test
This commit is contained in:
@@ -247,6 +247,20 @@ func run(ctx context.Context, manager Manager, config Config) error {
|
||||
}
|
||||
|
||||
ttrpcAddress := os.Getenv(ttrpcAddressEnv)
|
||||
a := log.Fields{
|
||||
"mzq-test": true,
|
||||
"id": id,
|
||||
"name": name,
|
||||
"config": fmt.Sprintf("%+v", config),
|
||||
"signals": fmt.Sprintf("%+v", signals),
|
||||
"ttrpcAddress": ttrpcAddress,
|
||||
}
|
||||
log.G(ctx).WithFields(a).Info("shim.go run")
|
||||
publisher, err := NewPublisher(ttrpcAddress)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer publisher.Close()
|
||||
|
||||
ctx = namespaces.WithNamespace(ctx, namespaceFlag)
|
||||
ctx = context.WithValue(ctx, OptsKey{}, Opts{BundlePath: bundlePath, Debug: debugFlag})
|
||||
|
||||
Reference in New Issue
Block a user