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

enchancement: updated naming convention from clientSet to dynamicClient (#203) #476

Closed
wants to merge 1 commit into from

Conversation

nikzayn
Copy link

@nikzayn nikzayn commented Oct 5, 2023

What this PR does / why we need it:
This PR updates the naming convention from clientSet to dynamicClient

Which issue this PR fixes

Special notes for your reviewer:

  • To verify the changes and check if everything is working fine. Just a sanity check.

Checklist:

@@ -27,9 +27,9 @@ func CreateClientSet() (*kubernetes.Clientset, error) {
if err != nil {
return &kubernetes.Clientset{}, err
}
clientSet, err := kubernetes.NewForConfig(restConfig)
dynamicClient, err := kubernetes.NewForConfig(restConfig)
Copy link
Member

Choose a reason for hiding this comment

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

Can we revert this change as this is not a dynamic client?

kubeconfig string
config *restclient.Config
client *kubernetes.Clientset
dynamicClient *chaosClient.LitmuschaosV1alpha1Client
Copy link
Member

@ispeakc0de ispeakc0de Dec 26, 2023

Choose a reason for hiding this comment

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

Can we change it to litmusClient as this is not a dynamic client? and change the rest of the places as well in this file

@neelanjan00
Copy link
Member

Closing this PR as it is not needed. We have closed the issue as well. Still, thanks for your contribution!

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.

Can we use this variable dynamicClient instead to clientSet
3 participants