Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
9.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 9.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 |