Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/runtime/host: Add GetActiveVersion to Runtime interface #5535

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

peternose
Copy link
Contributor

No description provided.

@peternose peternose force-pushed the peternose/feature/active-version branch 2 times, most recently from 811e468 to 87e793d Compare January 23, 2024 09:51
@@ -124,6 +124,19 @@ func (n *RuntimeHostNode) WaitHostedRuntime(ctx context.Context) (host.RichRunti
return n.GetHostedRuntime(), nil
}

// GetActiveVersion returns the version of the active runtime.
func (n *RuntimeHostNode) GetActiveVersion() (*version.Version, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func (n *RuntimeHostNode) GetActiveVersion() (*version.Version, error) {
func (n *RuntimeHostNode) GetHostedRuntimeActiveVersion() (*version.Version, error) {

@peternose peternose force-pushed the peternose/feature/active-version branch from 87e793d to 352f04f Compare January 23, 2024 10:01
@peternose peternose force-pushed the peternose/feature/active-version branch from 352f04f to 8d1c466 Compare January 23, 2024 10:51
@peternose peternose merged commit 77ff3ad into master Jan 23, 2024
4 checks passed
@peternose peternose deleted the peternose/feature/active-version branch January 23, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants