|
@@ -585,6 +585,7 @@ func PublishHostDNSUpdate(old, new *models.Host, networks []string) error {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// PublishFwUpdate - publishes fw update to host
|
|
func PublishFwUpdate(gwHost *models.Host, f *models.FwUpdate) error {
|
|
func PublishFwUpdate(gwHost *models.Host, f *models.FwUpdate) error {
|
|
data, err := json.Marshal(f)
|
|
data, err := json.Marshal(f)
|
|
if err != nil {
|
|
if err != nil {
|