sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject sqoop git commit: SQOOP-2268: Sqoop2: Fix a typo in ShowLinkFunction
Date Tue, 31 Mar 2015 01:33:16 GMT
Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 81ca8d3d2 -> 816374bd0


SQOOP-2268: Sqoop2: Fix a typo in ShowLinkFunction

(Richard Zhou via Abraham Elmahrek)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/816374bd
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/816374bd
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/816374bd

Branch: refs/heads/sqoop2
Commit: 816374bd0dd494c4aae9ef1d4975499060c96aba
Parents: 81ca8d3
Author: Abraham Elmahrek <abe@apache.org>
Authored: Mon Mar 30 18:32:17 2015 -0700
Committer: Abraham Elmahrek <abe@apache.org>
Committed: Mon Mar 30 18:32:17 2015 -0700

----------------------------------------------------------------------
 shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/816374bd/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
----------------------------------------------------------------------
diff --git a/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java b/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
index f93bc5d..17c2df3 100644
--- a/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
+++ b/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
@@ -57,8 +57,8 @@ public class ShowLinkFunction extends SqoopFunction {
   public Object executeFunction(CommandLine line, boolean isInteractive) {
     if (line.hasOption(Constants.OPT_ALL)) {
       showLinks();
-    } else if (line.hasOption(Constants.OPT_FROM)) {
-      showLink(getLong(line, Constants.OPT_FROM));
+    } else if (line.hasOption(Constants.OPT_LID)) {
+      showLink(getLong(line, Constants.OPT_LID));
     } else {
       showSummary();
     }


Mime
View raw message