Remove any existing guardian assets
fixes
@@ -54,6 +54,10 @@ func (cmd *WorkerCommand) guardianRunner(logger lager.Logger) (ifrit.Runner, err
return nil, err
}
+ // guardian does not overwrite existing assets. Therefore it can end up using
+ // old versions of assets that it's packed with
+ os.RemoveAll("/var/gdn/assets")
+
members := grouper.Members{}
gdnConfigFlag := []string{}
