mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	Fix typo error about hierarchical attributes
This commit is contained in:
		| @@ -380,7 +380,7 @@ site Attributes: | ||||
|             entries generated by 'makehosts' will put the FQDN before the PQDN(Partially  | ||||
|             Qualified Domain Name). Otherwise, the original behavior will be performed. | ||||
|   | ||||
|  heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be | ||||
|  hierarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be | ||||
|                     included hierarchically. Attribute values for all the node's groups | ||||
|                     will be applied to the node in the groups' order except the repeat one. | ||||
|   | ||||
|   | ||||
| @@ -1188,7 +1188,7 @@ use xCAT::ExtTab; | ||||
| "FQDNfirst: Fully Qualified Domain Name first. If set to 1/yes/enable, the /etc/hosts \n" . | ||||
| "           entries generated by 'makehosts' will put the FQDN before the PQDN(Partially \n" . | ||||
| "           Qualified Domain Name). Otherwise, the original behavior will be performed.\n\n" . | ||||
| "heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be\n". | ||||
| "hierarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be\n". | ||||
| "                   included hierarchically. Attribute values for all the node's groups\n". | ||||
| "                   will be applied to the node in the groups' order except the repeat one.\n\n". | ||||
| " -----------------------\n" . | ||||
|   | ||||
| @@ -2555,7 +2555,7 @@ sub getNodeAttribs_nosub_returnany | ||||
|   my $attrib; | ||||
|   my $result; | ||||
|   my @hierarchy_attrs; | ||||
|   my $hierarchy_field = xCAT::TableUtils->get_site_attribute("heirarchicalattrs"); | ||||
|   my $hierarchy_field = xCAT::TableUtils->get_site_attribute("hierarchicalattrs"); | ||||
|   if ($hierarchy_field) { | ||||
|       @hierarchy_attrs = split(/,/, $hierarchy_field); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user