You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2020/06/10 11:22:19 UTC

[flink] branch release-1.11 updated: [hotfix] Correct the default path of nvidia-gpu-discovery

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.11 by this push:
     new 76d1921  [hotfix] Correct the default path of nvidia-gpu-discovery
76d1921 is described below

commit 76d19219ae810d1082cf6468d57f270bcc636d5e
Author: Yangze Guo <ka...@gmail.com>
AuthorDate: Wed Jun 10 19:00:09 2020 +0800

    [hotfix] Correct the default path of nvidia-gpu-discovery
---
 .../src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java b/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
index 9acd8eb..f325b13 100644
--- a/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
+++ b/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
@@ -61,7 +61,7 @@ class GPUDriver implements ExternalResourceDriver {
 	static final ConfigOption<String> DISCOVERY_SCRIPT_PATH =
 		key("discovery-script.path")
 			.stringType()
-			.defaultValue(String.format("%s/external-resource-gpu/nvidia-gpu-discovery.sh", ConfigConstants.DEFAULT_FLINK_PLUGINS_DIRS));
+			.defaultValue(String.format("%s/external_resource_gpu/nvidia-gpu-discovery.sh", ConfigConstants.DEFAULT_FLINK_PLUGINS_DIRS));
 
 	@VisibleForTesting
 	static final ConfigOption<String> DISCOVERY_SCRIPT_ARG =