MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / DBStop

Method DBStop

tools/mage/dev.go:230–235  ·  view source on GitHub ↗

DBStop stops the databases of the development environment.

()

Source from the content-addressed store, hash-verified

228
229// DBStop stops the databases of the development environment.
230func (Dev) DBStop() error {
231 if mg.Verbose() {
232 fmt.Println("Stopping dev databases")
233 }
234 return execDockerCompose(append([]string{"stop"}, devDatabases...)...)
235}
236
237// DBErase erases the databases of the development environment.
238func (Dev) DBErase() error {

Callers

nothing calls this directly

Calls 1

execDockerComposeFunction · 0.85

Tested by

no test coverage detected