MCPcopy Index your code
hub / github.com/rilldata/rill / resolveRillVersion

Method resolveRillVersion

admin/deployments.go:773–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

771}
772
773func (s *Service) resolveRillVersion() string {
774 if s.Version.Number != "" {
775 return s.Version.Number
776 }
777 if s.Version.Commit != "" {
778 return s.Version.Commit
779 }
780 return "latest"
781}
782
783func validateRuntimeVersion(ver string) error {
784 // Verify version is a valid SemVer, a full Git commit hash or 'latest'

Callers 2

ProvisionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected