Skip to content

Commit 1588c06

Browse files
committed
config: remove ability to disable network address after enabling
Signed-off-by: Abiola Ibrahim <[email protected]>
1 parent 9d0ad92 commit 1588c06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/start.go

+4
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ func setFixedConfigs(conf *config.Config) {
334334
warnIfNotEqual("volume mount type", conf.MountType, fixedConf.MountType)
335335
conf.MountType = fixedConf.MountType
336336
}
337+
if fixedConf.Network.Address && !conf.Network.Address {
338+
log.Warnln("network address cannot be disabled once enabled")
339+
conf.Network.Address = true
340+
}
337341
}
338342

339343
func prepareConfig(cmd *cobra.Command) {

0 commit comments

Comments
 (0)