mirror of https://github.com/databricks/cli.git
add back worker input
This commit is contained in:
parent
8f8463f665
commit
f092e21594
|
@ -1,5 +1,10 @@
|
|||
package telemetry
|
||||
|
||||
import (
|
||||
"github.com/databricks/cli/libs/telemetry/protos"
|
||||
"github.com/databricks/databricks-sdk-go/config"
|
||||
)
|
||||
|
||||
// RequestBody is the request body type bindings for the /telemetry-ext API endpoint.
|
||||
type RequestBody struct {
|
||||
// Timestamp in millis for when the log was uploaded.
|
||||
|
@ -29,3 +34,8 @@ type LogError struct {
|
|||
Message string `json:"message"`
|
||||
ErrorType string `json:"errorType"`
|
||||
}
|
||||
|
||||
type WorkerInput struct {
|
||||
AuthConfig *config.Config `json:"authConfig"`
|
||||
Logs []protos.FrontendLog `json:"logs"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue