File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- ./hack/build.sh && ytt -f config/ | kbld -f- | kapp deploy -a kc -f- -c -y
5
+ ./hack/build.sh && ytt -f config/ -v push_images=true --data-value-yaml dangerous_enable_pprof=true | kbld -f- | kapp deploy -a kc -f- -c -y
Original file line number Diff line number Diff line change @@ -20,19 +20,22 @@ func (a *App) fetch(dstPath string) exec.CmdRunResult {
20
20
21
21
if len (a .app .Spec .Fetch ) == 1 {
22
22
fetch := a .app .Spec .Fetch [0 ]
23
+
23
24
err := a .fetchOne (fetch , dstPath )
24
25
if err != nil {
25
26
result .AttachErrorf ("Fetching (0): %s" , err )
26
27
}
27
28
} else {
28
29
for i , fetch := range a .app .Spec .Fetch {
29
- subPath := path .Join (dstPath , strconv .Itoa (i ))
30
- err := os .Mkdir (subPath , os .FileMode (0700 ))
30
+ dstSubPath := path .Join (dstPath , strconv .Itoa (i ))
31
+
32
+ err := os .Mkdir (dstSubPath , os .FileMode (0700 ))
31
33
if err != nil {
32
34
result .AttachErrorf (fmt .Sprintf ("Fetching (%d): " , i )+ "%s" , err )
33
35
break
34
36
}
35
- err = a .fetchOne (fetch , subPath )
37
+
38
+ err = a .fetchOne (fetch , dstSubPath )
36
39
if err != nil {
37
40
result .AttachErrorf (fmt .Sprintf ("Fetching (%d): " , i )+ "%s" , err )
38
41
break
You can’t perform that action at this time.
0 commit comments