From 5b579daac19356277758c878e2ccae1611450b9c Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Fri, 18 Jan 2019 08:29:12 -0800 Subject: [PATCH] rollback change to temp dir --- engine/kube/kube.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/engine/kube/kube.go b/engine/kube/kube.go index 3b8c07b..8023724 100644 --- a/engine/kube/kube.go +++ b/engine/kube/kube.go @@ -99,11 +99,6 @@ func (e *kubeEngine) Setup(ctx context.Context, spec *engine.Spec) error { } } - // drone creates host machine mounts for the workspace - // in a temporary directory. If this directory does not - // exist on the host machine it should be created. - os.MkdirAll("/tmp/drone", 0644) - // pv := toPersistentVolume(e.node, spec.Metadata.Namespace, spec.Metadata.Namespace, filepath.Join("/tmp", spec.Metadata.Namespace)) // _, err = e.client.CoreV1().PersistentVolumes().Create(pv) // if err != nil {