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

Function withVersion

coderd/healthcheck/provisioner_test.go:401–405  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

399}
400
401func withVersion(v string) func(*database.ProvisionerDaemon) {
402 return func(pd *database.ProvisionerDaemon) {
403 pd.Version = v
404 }
405}
406
407func withAPIVersion(v string) func(*database.ProvisionerDaemon) {
408 return func(pd *database.ProvisionerDaemon) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected