diff --git a/pkg/cmd/datastore/datastore.go b/pkg/cmd/datastore/datastore.go index 00f01eb575..c35590d135 100644 --- a/pkg/cmd/datastore/datastore.go +++ b/pkg/cmd/datastore/datastore.go @@ -133,11 +133,10 @@ type Config struct { GCMaxOperationTime time.Duration `debugmap:"visible"` // Spanner - SpannerCredentialsFile string `debugmap:"visible"` - SpannerEmulatorHost string `debugmap:"visible"` - SpannerMinSessions uint64 `debugmap:"visible"` - SpannerMaxSessions uint64 `debugmap:"visible"` - SpannerEstimatedBytesPerRelationship uint64 `debugmap:"visible"` + SpannerCredentialsFile string `debugmap:"visible"` + SpannerEmulatorHost string `debugmap:"visible"` + SpannerMinSessions uint64 `debugmap:"visible"` + SpannerMaxSessions uint64 `debugmap:"visible"` // MySQL TablePrefix string `debugmap:"visible"` diff --git a/pkg/cmd/datastore/zz_generated.options.go b/pkg/cmd/datastore/zz_generated.options.go index 34644bca28..e3457544c4 100644 --- a/pkg/cmd/datastore/zz_generated.options.go +++ b/pkg/cmd/datastore/zz_generated.options.go @@ -63,7 +63,6 @@ func (c *Config) ToOption() ConfigOption { to.SpannerEmulatorHost = c.SpannerEmulatorHost to.SpannerMinSessions = c.SpannerMinSessions to.SpannerMaxSessions = c.SpannerMaxSessions - to.SpannerEstimatedBytesPerRelationship = c.SpannerEstimatedBytesPerRelationship to.TablePrefix = c.TablePrefix to.WatchBufferLength = c.WatchBufferLength to.WatchBufferWriteTimeout = c.WatchBufferWriteTimeout @@ -106,7 +105,6 @@ func (c Config) DebugMap() map[string]any { debugMap["SpannerEmulatorHost"] = helpers.DebugValue(c.SpannerEmulatorHost, false) debugMap["SpannerMinSessions"] = helpers.DebugValue(c.SpannerMinSessions, false) debugMap["SpannerMaxSessions"] = helpers.DebugValue(c.SpannerMaxSessions, false) - debugMap["SpannerEstimatedBytesPerRelationship"] = helpers.DebugValue(c.SpannerEstimatedBytesPerRelationship, false) debugMap["TablePrefix"] = helpers.DebugValue(c.TablePrefix, false) debugMap["WatchBufferLength"] = helpers.DebugValue(c.WatchBufferLength, false) debugMap["WatchBufferWriteTimeout"] = helpers.DebugValue(c.WatchBufferWriteTimeout, false) @@ -368,13 +366,6 @@ func WithSpannerMaxSessions(spannerMaxSessions uint64) ConfigOption { } } -// WithSpannerEstimatedBytesPerRelationship returns an option that can set SpannerEstimatedBytesPerRelationship on a Config -func WithSpannerEstimatedBytesPerRelationship(spannerEstimatedBytesPerRelationship uint64) ConfigOption { - return func(c *Config) { - c.SpannerEstimatedBytesPerRelationship = spannerEstimatedBytesPerRelationship - } -} - // WithTablePrefix returns an option that can set TablePrefix on a Config func WithTablePrefix(tablePrefix string) ConfigOption { return func(c *Config) {