Merge pull request #17841 from mqliang/constant

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-12-13 23:40:27 -08:00
9 changed files with 27 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ func TestSetDefaultDaemonSet(t *testing.T) {
func TestSetDefaultDeployment(t *testing.T) {
defaultIntOrString := intstr.FromInt(1)
differentIntOrString := intstr.FromInt(5)
deploymentLabelKey := "deployment.kubernetes.io/podTemplateHash"
deploymentLabelKey := DefaultDeploymentUniqueLabelKey
period := int64(v1.DefaultTerminationGracePeriodSeconds)
defaultTemplate := v1.PodTemplateSpec{
Spec: v1.PodSpec{