Skip to content

modifing the code for v1#2

Open
ooichman wants to merge 4 commits intopipo02mix:instance_migrationfrom
ooichman:instance_migration
Open

modifing the code for v1#2
ooichman wants to merge 4 commits intopipo02mix:instance_migrationfrom
ooichman:instance_migration

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