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

add nonkube link status support #1875

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lynnemorrison
Copy link
Collaborator

@lynnemorrison lynnemorrison commented Jan 13, 2025

add command and unit tests for nonkube link status

fixes #1871

@lynnemorrison lynnemorrison self-assigned this Jan 13, 2025
return api.GetHostNamespaceHome(p.Namespace) + "/" + string(api.RuntimeSiteStatePath)
}

func (p *PathProvider) GetRuntimeNamespace() string {
return api.GetHostNamespaceHome(p.Namespace) + "/" + string(api.RuntimePath)
Copy link
Member

Choose a reason for hiding this comment

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

This is actually retrieving the "static" links generated for a given site (those used by other sites to connect
with it), not the active outgoing links a given site is using.

It seems like GetRuntimeResourceNamespace() is what should have been used here, as it retrieves from
runtime/resources instead. With that, I believe GetRuntimeNamespace is not needed as it is only used by
link_handler.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok thanks will fix.

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