(changedFiles []string)
| 301 | } |
| 302 | |
| 303 | func (u *upstream) execCommandsAfterApply(changedFiles []string) error { |
| 304 | u.initialSyncCompletedMutex.Lock() |
| 305 | defer u.initialSyncCompletedMutex.Unlock() |
| 306 | |
| 307 | if !u.initialSyncCompleted { |
| 308 | u.initialSyncChanges = append(u.initialSyncChanges, changedFiles...) |
| 309 | return nil |
| 310 | } |
| 311 | |
| 312 | return u.execCommands(changedFiles) |
| 313 | } |
| 314 | |
| 315 | func (u *upstream) execCommands(changedFiles []string) error { |
| 316 | // execute exec commands |
no test coverage detected