@@ -290,7 +290,7 @@ type ControlServerConfig struct {
290290 ServerBindAddr string
291291
292292 // Path to `web` base dir
293- WebBasedir string
293+ WebBasedir string
294294
295295 // TODO: refactor control server config out of the base ferry at some point
296296 // This adds optional buttons in the web ui that runs a script located at the
@@ -319,7 +319,8 @@ func (c *ControlServerConfig) Validate() error {
319319
320320// SchemaName => TableName => ColumnName => CompressionAlgorithm
321321// Example: blog1 => articles => body => snappy
322- // (SELECT body FROM blog1.articles => returns compressed blob)
322+ //
323+ // (SELECT body FROM blog1.articles => returns compressed blob)
323324type ColumnCompressionConfig map [string ]map [string ]map [string ]string
324325
325326func (c ColumnCompressionConfig ) CompressedColumnsFor (schemaName , tableName string ) map [string ]string {
@@ -870,7 +871,7 @@ func (c *Config) ValidateConfig() error {
870871 return nil
871872}
872873
873- func (c * Config ) checkForDeprecatedConfig () {
874+ func (c * Config ) checkForDeprecatedConfig () {
874875 if c .DataIterationBatchSize != 0 {
875876 c .logDeprecated ("DataIterationBatchSize" , "UpdatableConfig.DataIterationBatchSize" )
876877 c .UpdatableConfig .DataIterationBatchSize = c .DataIterationBatchSize
@@ -888,11 +889,11 @@ func (c *Config) checkForDeprecatedConfig() {
888889
889890 if len (c .ControlServerCustomScripts ) != 0 {
890891 c .logDeprecated ("ControlServerCustomScripts" , "ControlServerConfig.CustomScripts" )
891- c .ControlServerConfig .CustomScripts = c .ControlServerCustomScripts
892+ c .ControlServerConfig .CustomScripts = c .ControlServerCustomScripts
892893 }
893894}
894895
895- func (c * Config ) logDeprecated (deprecatedConfig string , newConfig string ) {
896+ func (c * Config ) logDeprecated (deprecatedConfig string , newConfig string ) {
896897 logrus .Warnf ("Config.%s is deprecated in favour of Config.%s" , deprecatedConfig , newConfig )
897898}
898899
0 commit comments