Skip to content

Commit 76a2d61

Browse files
authored
Exporter: follow up for #3556 - we need to include some UC objects into default listing (#3565)
The `uc-schemas`, `uc-models`, `uc-tables`, and `uc-volumes` services don't have explicit `List` operation, but we need to include them into the default listing so they will be exported in the default mode.
1 parent 31df20c commit 76a2d61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exporter/command.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ func (ic *importContext) allServicesAndListing() (string, string) {
4141
listing[ir.Service] = struct{}{}
4242
}
4343
}
44+
// We need this to specify default listings of UC objects...
45+
for _, ir := range []string{"uc-schemas", "uc-models", "uc-tables", "uc-volumes"} {
46+
listing[ir] = struct{}{}
47+
}
4448
return strings.Join(maps.Keys(services), ","), strings.Join(maps.Keys(listing), ",")
4549
}
4650

0 commit comments

Comments
 (0)