[confighttp] Use configoptional.Optional
for optional fields
#35675
Annotations
7 errors
Run tests
Process completed with exit code 2.
|
Run tests
cannot use &configtls.ServerConfig{…} (value of type *configtls.ServerConfig) as configoptional.Optional[configtls.ServerConfig] value in struct literal
|
Run tests
cannot use &configtls.ServerConfig{…} (value of type *configtls.ServerConfig) as configoptional.Optional[configtls.ServerConfig] value in struct literal
|
Run tests
invalid operation: config.TLS != nil (mismatched types configoptional.Optional[configtls.ServerConfig] and untyped nil)
|
Run tests
cannot use &configtls.ServerConfig{…} (value of type *configtls.ServerConfig) as configoptional.Optional[configtls.ServerConfig] value in struct literal
|
Run tests
cannot use &configtls.ServerConfig{…} (value of type *configtls.ServerConfig) as configoptional.Optional[configtls.ServerConfig] value in struct literal
|
Run tests
invalid operation: config.TLS != nil (mismatched types configoptional.Optional[configtls.ServerConfig] and untyped nil)
|
Loading