Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.此内容没有您所选择的语言版本。
7.32. fabric:git-master
Abstract
						checks and/or changes the container that is the git master in the cluster
					
Synopsis 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
fabric:git-master  [
					options
				] [
					container
				]
Description 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				This command checks and/or changes the container that is the git master in the cluster.
			
Note
					This command is only available from R13 and later.
				
				If you use the fabric:git-master command without any options, it displays the name of the current git master container.
			
fabric:git-master
fabric:git-master
Current Git master is: child3
Current Git master is: child3
				If you specify a container using the fabric:git-master command, it assigns that container as the master.
			
fabric:git-master root
fabric:git-master root
Changing Git master to new cluster member: root
Changing Git master to new cluster member: root
Arguments 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				Table 7.32, “fabric:git-master Arguments” describes the command's arguments.
			
| Argument | Interpretation | 
|---|---|
container | Specifies the new master container | 
--help | Displays the online help for this command |