Skip to content

Commit cbb3de6

Browse files
committed
was reporting provided-schemas telemetry as false when true
Signed-off-by: Avi Deitcher <[email protected]>
1 parent f131ccc commit cbb3de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/core/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (e *Executor) Dump(ctx context.Context, opts DumpOptions) (DumpResults, err
8282
dw := make([]database.DumpWriter, 0)
8383

8484
// do we back up all schemas, or just provided ones
85-
span.SetAttributes(attribute.Bool("provided-schemas", len(dbnames) == 0))
85+
span.SetAttributes(attribute.Bool("provided-schemas", len(dbnames) != 0))
8686
if len(dbnames) == 0 {
8787
if dbnames, err = database.GetSchemas(dbconn); err != nil {
8888
return results, fmt.Errorf("failed to list database schemas: %v", err)

0 commit comments

Comments
 (0)