mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 16:03:03 +02:00
move interactive option to global (#370)
Fixes #366 Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -52,8 +52,6 @@ type ApplyOptions struct {
|
||||
Wait bool
|
||||
// WaitForJobs is true if the helm command should wait for the jobs to be completed
|
||||
WaitForJobs bool
|
||||
// Interactive is true if the user should be prompted for input.
|
||||
Interactive bool
|
||||
}
|
||||
|
||||
// NewApply creates a new Apply
|
||||
@@ -204,8 +202,3 @@ func (a *ApplyImpl) Wait() bool {
|
||||
func (a *ApplyImpl) WaitForJobs() bool {
|
||||
return a.ApplyOptions.WaitForJobs
|
||||
}
|
||||
|
||||
// Interactive returns the Interactive.
|
||||
func (a *ApplyImpl) Interactive() bool {
|
||||
return a.ApplyOptions.Interactive
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user