MCPcopy
hub / github.com/google/seesaw / updateConfig

Method updateConfig

engine/vserver.go:528–534  ·  view source on GitHub ↗

updateConfig queues a vserver configuration update for processing. This will block if a configuration update is already pending.

(config *config.Vserver)

Source from the content-addressed store, hash-verified

526// updateConfig queues a vserver configuration update for processing. This
527// will block if a configuration update is already pending.
528func (v *vserver) updateConfig(config *config.Vserver) {
529 if reflect.DeepEqual(config, v.config) {
530 return
531 }
532 // TODO(jsing): Consider the implications of potentially blocking here.
533 v.update <- config
534}
535
536// queueCheckNotification queues a checkNotification for processing.
537func (v *vserver) queueCheckNotification(n *checkNotification) {

Callers 1

updateVserversMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected