Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/core/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (e *Executor) Dump(ctx context.Context, opts DumpOptions) (DumpResults, err
dw := make([]database.DumpWriter, 0)

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