Repository: incubator-airflow Updated Branches: refs/heads/master adb648c94 -> 5a3f39913
[AIRFLOW-2669] Fix bug when setting logs_volume_subpath Closes #3543 from Cplo/subpath Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/5a3f3991 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/5a3f3991 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/5a3f3991 Branch: refs/heads/master Commit: 5a3f39913739998ca2e9a17d0f1d10fccb840d36 Parents: adb648c Author: pengchen <[email protected]> Authored: Mon Jun 25 13:13:17 2018 +0200 Committer: Fokko Driesprong <[email protected]> Committed: Mon Jun 25 13:13:19 2018 +0200 ---------------------------------------------------------------------- airflow/contrib/kubernetes/worker_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/5a3f3991/airflow/contrib/kubernetes/worker_configuration.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/kubernetes/worker_configuration.py b/airflow/contrib/kubernetes/worker_configuration.py index 059b352..4abeba2 100644 --- a/airflow/contrib/kubernetes/worker_configuration.py +++ b/airflow/contrib/kubernetes/worker_configuration.py @@ -150,7 +150,7 @@ class WorkerConfiguration(LoggingMixin): 'name': logs_volume_name, 'mountPath': self.worker_airflow_logs, } - if self.kube_config.dags_volume_subpath: + if self.kube_config.logs_volume_subpath: logs_volume_mount['subPath'] = self.kube_config.logs_volume_subpath volume_mounts = [
