Fix data-downloader; parameters are in the wrong order. (#115)

* URL should be the first argument; data dir should be the second.
This commit is contained in:
Jeremy Lewi 2018-05-17 20:16:51 +02:00 committed by k8s-ci-robot
parent 2d335b1302
commit 002119010f
2 changed files with 5 additions and 5 deletions

View File

@ -22,9 +22,9 @@ local scriptConfigMap = {
local params = {
// Default location for the data. Should be a directory on the PVC.
"dataPath": "/data",
"dataUrl": "https://storage.googleapis.com/kubeflow-examples/github-issue-summarization-data/github-issues.zip",
"pvcName": "data-pvc",
dataPath: "/data",
dataUrl: "https://storage.googleapis.com/kubeflow-examples/github-issue-summarization-data/github-issues.zip",
pvcName: "data-pvc",
} + overrideParams;
local downLoader = {
@ -43,8 +43,8 @@ local downLoader = {
command: [
"/bin/ash",
"/scripts/download_data.sh",
params.dataUrl,
params.dataPath,
params.dataUrl,
],
image: "busybox",
name: "downloader",

View File

@ -1,5 +1,5 @@
local env = std.extVar("__ksonnet/environments");
local params = std.extVar("__ksonnet/params").components["tfjob"];
local params = std.extVar("__ksonnet/params").components.tfjob;
local k = import "k.libsonnet";
local tfjob = import "tfjob.libsonnet";