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

modifing the code for v1 #2

Open
wants to merge 4 commits into
base: instance_migration
Choose a base branch
from

Conversation

ooichman
Copy link

Hi ,
I want to thank you for providing this code , it was very helpful
I did made a few small changes in it to make it work in v1

thanks in advanced
Oren Oichman

masonhensley and others added 4 commits July 23, 2020 18:30
Hi ,
I made a few small changes so the code will work with v1 , more so I would suggest using regex to see part of the pod name something like :
podnamingReg := regexp.MustCompile(`kuku`)

	if podnamingReg.MatchString(string(pod.Name)) {
instead of 
        if pod.Name == "smooth-app" {

up to you
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