Skip to content

Commit

Permalink
fix: can't flush logic configuration when destory cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
YenchangChan committed Dec 5, 2023
1 parent dc367da commit 3ae2501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/ck.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ func ConfigLogicOtherCluster(clusterName string) error {
NeedSudo: deploy.Conf.NeedSudo,
AuthenticateType: deploy.Conf.AuthenticateType,
}
if err := common.ScpUploadFile(m, path.Join(remotePath, "metrika.xml"), sshOpts); err != nil {
if err := common.ScpUploadFile(m, path.Join(remotePath, "config.d", "metrika.xml"), sshOpts); err != nil {
lastError = err
return
}
Expand Down

0 comments on commit 3ae2501

Please sign in to comment.