| Index: client/cmd/isolate/archive.go
|
| diff --git a/client/cmd/isolate/archive.go b/client/cmd/isolate/archive.go
|
| index 99ed9e3dca600977321e890cfe22d70a8ceb0e2e..5260bc5b1ef2cdab75b41af113dabec7c390c9fc 100644
|
| --- a/client/cmd/isolate/archive.go
|
| +++ b/client/cmd/isolate/archive.go
|
| @@ -33,6 +33,7 @@ func cmdArchive(defaultAuthOpts auth.Options) *subcommands.Command {
|
| c := archiveRun{}
|
| c.commonServerFlags.Init(defaultAuthOpts)
|
| c.isolateFlags.Init(&c.Flags)
|
| + c.loggingFlags.Init(&c.Flags)
|
| return &c
|
| },
|
| }
|
| @@ -41,6 +42,7 @@ func cmdArchive(defaultAuthOpts auth.Options) *subcommands.Command {
|
| type archiveRun struct {
|
| commonServerFlags
|
| isolateFlags
|
| + loggingFlags loggingFlags
|
| }
|
|
|
| func (c *archiveRun) Parse(a subcommands.Application, args []string) error {
|
| @@ -103,7 +105,7 @@ func (c *archiveRun) main(a subcommands.Application, args []string) error {
|
| if item.Error() != nil {
|
| archiveDetails.IsolateHash = []string{string(item.Digest())}
|
| }
|
| - eventlogger := NewLogger(ctx, c.isolateFlags.EventlogEndpoint)
|
| + eventlogger := NewLogger(ctx, c.loggingFlags.EventlogEndpoint)
|
| op := logpb.IsolateClientEvent_LEGACY_ARCHIVE.Enum()
|
| if err := eventlogger.logStats(ctx, op, start, end, archiveDetails); err != nil {
|
| log.Printf("Failed to log to eventlog: %v", err)
|
|
|