()
| 300 | } |
| 301 | |
| 302 | func (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 |
nothing calls this directly
no outgoing calls
no test coverage detected