Merge pull request #2072 from shaowenchen/fix_create_pipeline

fix pipeline bugs
This commit is contained in:
KubeSphere CI Bot
2020-05-23 21:15:34 +08:00
committed by GitHub
16 changed files with 746 additions and 154 deletions

View File

@@ -44,7 +44,7 @@ var node = &corev1.Node{
}
var pods = []*corev1.Pod{
&corev1.Pod{
{
ObjectMeta: metav1.ObjectMeta{
Namespace: "foo",
Name: "pod-with-resources",
@@ -69,7 +69,7 @@ var pods = []*corev1.Pod{
Phase: corev1.PodRunning,
},
},
&corev1.Pod{
{
ObjectMeta: metav1.ObjectMeta{
Namespace: "foo2",
Name: "pod-with-resources",