| skipped 172 lines |
173 | 173 | | return fmt.Errorf("save tasklog failed, err: %v", err) |
174 | 174 | | } |
175 | 175 | | |
176 | | - | writer, err := ansible.CreateAnsibleLogWriterWithId(cluster.Name, fmt.Sprintf("%s (%s)", component.ID, constant.StatusDisabled)) |
| 176 | + | writer, err := ansible.CreateAnsibleLogWriterWithId(cluster.Name, fmt.Sprintf("%s (%s)", component.ID, constant.StatusEnabled)) |
177 | 177 | | if err != nil { |
178 | 178 | | _ = c.taskLogService.EndDetail(&task, component.Name, "component", constant.TaskLogStatusFailed, err.Error()) |
179 | 179 | | return fmt.Errorf("create ansible log writer failed, err: %v", err) |
| skipped 300 lines |