MCPcopy Create free account
hub / github.com/Shopify/ghostferry / Validate

Method Validate

config.go:302–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300}
301
302func (c *ControlServerConfig) Validate() error {
303 // this is used to update the web base dir path from the debian packager
304 if WebUiBasedir != "" {
305 c.WebBasedir = WebUiBasedir
306 }
307
308 if c.ServerBindAddr == "" {
309 c.ServerBindAddr = "0.0.0.0:8000"
310 }
311
312 if c.WebBasedir == "" {
313 c.WebBasedir = "."
314 }
315
316 return nil
317}
318
319// SchemaName => TableName => ColumnName => CompressionAlgorithm
320// Example: blog1 => articles => body => snappy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected