diff --git a/cli/command/install/cmd.go b/cli/command/install/cmd.go index 342e4f16b..0a7fa6054 100644 --- a/cli/command/install/cmd.go +++ b/cli/command/install/cmd.go @@ -1,3 +1,25 @@ +/* + * Copyright (c) 2021 NetEase Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Project: CurveAdm + * Created Date: 2023-12-21 + * Author: Xinyu Zhuo (0fatal) + */ + package install import ( diff --git a/cli/command/install/tool.go b/cli/command/install/tool.go index 07b77d5d7..f7a7b528a 100644 --- a/cli/command/install/tool.go +++ b/cli/command/install/tool.go @@ -1,3 +1,25 @@ +/* + * Copyright (c) 2021 NetEase Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Project: CurveAdm + * Created Date: 2023-12-21 + * Author: Xinyu Zhuo (0fatal) + */ + package install import ( diff --git a/internal/task/task/install/install_tool.go b/internal/task/task/install/install_tool.go index 6352c1786..22a7ac93e 100644 --- a/internal/task/task/install/install_tool.go +++ b/internal/task/task/install/install_tool.go @@ -1,3 +1,25 @@ +/* + * Copyright (c) 2021 NetEase Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Project: CurveAdm + * Created Date: 2023-12-21 + * Author: Xinyu Zhuo (0fatal) + */ + package install import ( @@ -52,7 +74,7 @@ func NewInstallToolTask(curveadm *cli.CurveAdm, dc *topology.DeployConfig) (*tas } subname := fmt.Sprintf("host=%s", dc.GetHost()) - t := task.NewTask("Install tool v2", subname, hc.GetSSHConfig()) + t := task.NewTask("Copy version 2 tool to host", subname, hc.GetSSHConfig()) t.AddStep(&step.CreateDirectory{ Paths: []string{filepath.Dir(path)},