Skip to content

Conversation

@chauhanshubham
Copy link
Contributor

No description provided.

hemantavi
hemantavi previously approved these changes Nov 16, 2021
gslbutils.LogAndPanic("error getting AMKO pod details: " + err.Error())
gslbutils.Warnf("Error getting AMKO pod details, %s.", err.Error())
}
amkoControlConfig.SaveAMKOPodObjectMeta(pod.DeepCopy())
Copy link
Contributor

Choose a reason for hiding this comment

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

If we don't panic in 680, won't we crash here? Assuming pod is nil, pod.DeepCopy() will cause a runtime panic?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you're right, fixed. thanks

@chauhanshubham
Copy link
Contributor Author

build amko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants