Fix typos and ask unittest (#1235)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
Peter Halliday
2024-06-02 15:03:54 +08:00
committed by yxxhero
parent 279d7dee18
commit 4b3ad24bc7
4 changed files with 44 additions and 5 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ type ApplyOptions struct {
// SyncArgs is the list of arguments to pass to helm upgrade.
SyncArgs string
// DryRun is for helm dry-run flag
DryRyn string
DryRun string
}
// NewApply creates a new Apply
@@ -252,5 +252,5 @@ func (a *ApplyImpl) SyncArgs() string {
// DryRun returns dry-run flag
func (a *ApplyImpl) DryRun() string {
return a.ApplyOptions.DryRyn
return a.ApplyOptions.DryRun
}
+2 -2
View File
@@ -35,7 +35,7 @@ type SyncOptions struct {
// SyncArgs is the list of arguments to pass to the helm upgrade command.
SyncArgs string
// DryRun is for helm dry-run flag
DryRyn string
DryRun string
}
// NewSyncOptions creates a new Apply
@@ -144,5 +144,5 @@ func (t *SyncImpl) SyncArgs() string {
// DryRun returns dry-run flag
func (t *SyncImpl) DryRun() string {
return t.SyncOptions.DryRyn
return t.SyncOptions.DryRun
}