]> andersk Git - moira.git/commitdiff
Don't include 'NONE' in the list of possible things to do a ghbo/guas
authorzacheiss <zacheiss>
Thu, 29 Nov 2007 22:56:02 +0000 (22:56 +0000)
committerzacheiss <zacheiss>
Thu, 29 Nov 2007 22:56:02 +0000 (22:56 +0000)
for, because we don't support it.

clients/moira/cluster.c
clients/moira/user.c

index e6f657c9c82feff05d56c92d4bc54ae14f897af2..2277ae065a168845f8710a7f2cdc08fd44d91ffb 100644 (file)
@@ -2042,7 +2042,7 @@ int MachineByOwner(int argc, char **argv)
   struct mqelem *top;
 
   type = strdup("USER");
-  if (GetTypeFromUser("Type of owner", "ace_type", &type) == SUB_ERROR)
+  if (GetTypeFromUser("Type of owner", "search_ace_type", &type) == SUB_ERROR)
     return DM_NORMAL;
 
   sprintf(buf, "Name of %s", type);
index 69ab7b73ab3fc7e89ccab91285bdc82cb5ab0068..5c23db439b085f851a596a32ee9b7e02be48f088 100644 (file)
@@ -1181,7 +1181,7 @@ int UserBySponsor(int argc, char **argv)
   struct mqelem *top;
 
   type = strdup("USER");
-  if (GetTypeFromUser("Type of sponsor", "ace_type", &type) == SUB_ERROR)
+  if (GetTypeFromUser("Type of sponsor", "search_ace_type", &type) == SUB_ERROR)
     return DM_NORMAL;
 
   sprintf(buf, "Name of %s", type);
This page took 0.041749 seconds and 5 git commands to generate.