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

Proposal: Update the service field to serviceRef as it's a pointer to the Service Object #279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aaranmcguire
Copy link
Contributor

Within the OpenSLO spec we allow references to other objects, like sliRef,dataSourceRef. These point to SLI and DataSource Objects.

However the field name for the service is currently names service, when it likely should be called serviceRef as it's a pointer to the Service Object.

Copy link
Member

@nieomylnieja nieomylnieja left a comment

Choose a reason for hiding this comment

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

While I personally agree, I'd wait for others to give their votes/perspective.

Meanwhile, since Go structs are already defined for v2alpha1, we need to update them too:

Service string `yaml:"service"`

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