Skip to content

Commit

Permalink
eksconfig: fix typo in MNG logs tar.gz path
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed Jun 19, 2020
1 parent 0c705e8 commit 7b60047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eksconfig/add-on-managed-node-groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (cfg *Config) validateAddOnManagedNodeGroups() error {
cfg.AddOnManagedNodeGroups.LogsDir = filepath.Join(filepath.Dir(cfg.ConfigPath), cfg.Name+"-logs-mngs")
}
if cfg.AddOnManagedNodeGroups.LogsTarGzPath == "" {
cfg.AddOnManagedNodeGroups.LogsTarGzPath = filepath.Join(filepath.Dir(cfg.ConfigPath), cfg.Name+"-logs-ngs.tar.gz")
cfg.AddOnManagedNodeGroups.LogsTarGzPath = filepath.Join(filepath.Dir(cfg.ConfigPath), cfg.Name+"-logs-mngs.tar.gz")
}
if !strings.HasSuffix(cfg.AddOnManagedNodeGroups.LogsTarGzPath, ".tar.gz") {
return fmt.Errorf("AddOnManagedNodeGroups.LogsTarGzPath %q must end with .tar.gz", cfg.AddOnManagedNodeGroups.LogsTarGzPath)
Expand Down

0 comments on commit 7b60047

Please sign in to comment.