From 83a529796c71769e5db151cedcb3859cb0e8dd4f Mon Sep 17 00:00:00 2001 From: life <46099295+clcc2019@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:51:20 +0800 Subject: [PATCH] Update host-alias.go --- cmd/sealer/cmd/alpha/host-alias.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sealer/cmd/alpha/host-alias.go b/cmd/sealer/cmd/alpha/host-alias.go index 13df9a32284..89a55957f91 100644 --- a/cmd/sealer/cmd/alpha/host-alias.go +++ b/cmd/sealer/cmd/alpha/host-alias.go @@ -71,7 +71,7 @@ func NewHostAliasCmd() *cobra.Command { cf.SetCluster(desiredCluster) - return cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: true}) + return cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: false}) }, } cmd.Flags().StringVar(&hostAlias.IP, "ip", "", "host-alias ip")