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

add validation to dc before dereferencing pointers #554

Merged
merged 1 commit into from
Jul 17, 2018

Conversation

syamgk
Copy link
Member

@syamgk syamgk commented Jun 29, 2018

add validation to dc before dereferencing pointers

Copy link
Member

@cdrage cdrage left a comment

Choose a reason for hiding this comment

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

Needs comments!

@@ -1380,6 +1383,10 @@ func (c *Client) AddPVCToDeploymentConfig(dc *appsv1.DeploymentConfig, pvc strin
},
})

//fmt.Println(reflect.TypeOf(dc.Spec.Template.Spec.Containers[0].VolumeMounts))
Copy link
Member

Choose a reason for hiding this comment

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

remove this line

@syamgk syamgk force-pushed the addvaltodc branch 2 times, most recently from c745856 to 46835e8 Compare July 4, 2018 17:26
add validation to dc before dereferencing pointers
@surajnarwade
Copy link
Contributor

Looks good to me

@cdrage
Copy link
Member

cdrage commented Jul 16, 2018

LGTM

@kadel kadel merged commit 59cea08 into redhat-developer:master Jul 17, 2018
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.

4 participants