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

Method valid

enterprise/cli/server_dbcrypt.go:392–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390}
391
392func (f *deleteFlags) valid() error {
393 if f.PostgresURL == "" {
394 return xerrors.Errorf("no database configured")
395 }
396
397 return nil
398}

Callers 1

dbcryptDeleteCmdMethod · 0.95

Calls 1

ErrorfMethod · 0.45

Tested by

no test coverage detected