MCPcopy Index your code
hub / github.com/coder/coder / Close

Method Close

provisionerd/provisionerd.go:666–669  ·  view source on GitHub ↗

Close ends the provisioner. It will mark any running jobs as failed.

()

Source from the content-addressed store, hash-verified

664
665// Close ends the provisioner. It will mark any running jobs as failed.
666func (p *Server) Close() error {
667 p.opts.Logger.Info(p.closeContext, "closing provisionerd")
668 return p.closeWithError(nil)
669}
670
671// closeWithError closes the provisioner; subsequent reads/writes will return the error err.
672func (p *Server) closeWithError(err error) error {

Callers

nothing calls this directly

Calls 2

closeWithErrorMethod · 0.95
InfoMethod · 0.45

Tested by

no test coverage detected