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

fix: rename name to plugin in KongPlugin resource #122

Merged
merged 1 commit into from
Sep 10, 2018
Merged

Conversation

hbagdi
Copy link
Member

@hbagdi hbagdi commented Sep 10, 2018

This is a fix for the issue introduced in 32ca70f.
name is already a property defined for every resource in k8s, which is
unique across all objects of the same kind.
The name from metav1.objectMeta needs to be accessible in other parts
of code to correctly read the object.

This commit renames the name to plugin field.

This is a fix for the issue introduced in 32ca70f.
`name` is already a property defined for every resource in k8s, which is
unique across all objects of the same kind.
The `name` from metav1.objectMeta needs to be accessible in other parts
of code to correctly read the object.

This commit renames the `name` to `plugin` field.
@codecov-io
Copy link

codecov-io commented Sep 10, 2018

Codecov Report

Merging #122 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #122   +/-   ##
=======================================
  Coverage   31.39%   31.39%           
=======================================
  Files          33       33           
  Lines        2956     2956           
=======================================
  Hits          928      928           
  Misses       1915     1915           
  Partials      113      113
Impacted Files Coverage Δ
internal/ingress/controller/kong.go 1.13% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fa2c1e...d5c8040. Read the comment docs.

@hbagdi hbagdi merged commit eba9813 into master Sep 10, 2018
@hbagdi hbagdi deleted the fix/plugin-name branch September 10, 2018 21:35
hbagdi added a commit that referenced this pull request Oct 23, 2018
This is a fix for the issue introduced in 32ca70f.
`name` is already a property defined for every resource in k8s, which is
unique across all objects of the same kind.
The `name` from metav1.objectMeta needs to be accessible in other parts
of code to correctly read the object.

This commit renames the `name` to `plugin` field.

From #122
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.

3 participants