mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 11:13:11 +02:00
move interactive option to global (#370)
Fixes #366 Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -26,8 +26,6 @@ type SyncOptions struct {
|
||||
Wait bool
|
||||
// WaitForJobs is the wait for jobs flag
|
||||
WaitForJobs bool
|
||||
// Interactive is true if the user should be prompted for input.
|
||||
Interactive bool
|
||||
}
|
||||
|
||||
// NewSyncOptions creates a new Apply
|
||||
@@ -112,8 +110,3 @@ func (t *SyncImpl) Wait() bool {
|
||||
func (t *SyncImpl) WaitForJobs() bool {
|
||||
return t.SyncOptions.WaitForJobs
|
||||
}
|
||||
|
||||
// Interactive returns the Interactive
|
||||
func (t *SyncImpl) Interactive() bool {
|
||||
return t.SyncOptions.Interactive
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user