hunk.code_window: 	if websocket.IsUnexpectedCloseError(err, websocket.CloseGoingAway, websocket.CloseNoStatusReceived) {
   		log.Printf("websocket error: %s \n", err.Error())
   	}
  
hunk.labels: keep add keep keep
hunk.after_edit: 		return nil
  
hunk.file_path: api/http/handler/websocket/pod.go
hunk.type: add
file: package migrator
  
  func (m *Migrator) updateSettingsToDBVersion15() error {
  	legacySettings, err := m.settingsService.Settings()
  	if err != nil {
  		return err
  	}
  
  	legacySettings.EnableHostManagementFeatures = false
  	return m.settingsService.UpdateSettings(legacySettings)
  }
  
  func (m *Migrator) updateTemplatesToVersion15() error {
  	// Removed with the entire template management layer, part of https://github.com/portainer/portainer/issues/3707
  	return nil
  }
  