commit | b30a41d6fea59cc6658192ad3866f6838d4e3fb7 | [log] [tgz] |
---|---|---|
author | Mateusz Zalega <mateusz@monogon.tech> | Fri Apr 29 17:14:50 2022 +0200 |
committer | Mateusz Zalega <mateusz@monogon.tech> | Tue May 03 12:11:19 2022 +0000 |
tree | aefa32aba26eab3fadc77227a765300fe4c0d577 | |
parent | de82150a3be691178d8113e50c65e052b6739e19 [diff] [blame] |
m/n/core: automatically update ClusterDirectory This extends the hostsfile service to also update ClusterDirectory whenever cluster member address information is received. Change-Id: I30dcd15ba4a59f13e48501ff1032c189e2e961af Reviewed-on: https://review.monogon.dev/c/monogon/+/662 Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/metropolis/node/core/main.go b/metropolis/node/core/main.go index 3254f2b..0af18e9 100644 --- a/metropolis/node/core/main.go +++ b/metropolis/node/core/main.go
@@ -151,6 +151,7 @@ Roleserver: rs, Network: networkSvc, Ephemeral: &root.Ephemeral, + ESP: &root.ESP, }, } if err := supervisor.Run(ctx, "hostsfile", hostsfileSvc.Run); err != nil {