Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit a246742

Browse files
authored
Merge pull request #122 from gianrubio/fix-console-msg
Fix console msg when initializing node pools
2 parents 4abf789 + 59beee6 commit a246742

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/nodepool/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ Next steps:
132132
2. Use the "kube-aws nodepool render" command to render the stack template.
133133
`
134134

135-
fmt.Printf(successMsg, nodePoolClusterConfigFilePath, nodePoolClusterConfigFilePath)
135+
fmt.Printf(successMsg, nodePoolClusterConfigFilePath(), nodePoolClusterConfigFilePath())
136136
return nil
137137
}

cmd/nodepool/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func nodePoolExportedStackTemplatePath() string {
3535
func stackTemplateOptions() config.StackTemplateOptions {
3636
return config.StackTemplateOptions{
3737
TLSAssetsDir: "credentials",
38-
WorkerTmplFile: fmt.Sprintf("%s/userdata/cloud-config-worker", nodePoolConfigDirPath(), nodePoolOpts.PoolName),
38+
WorkerTmplFile: fmt.Sprintf("%s/userdata/cloud-config-worker", nodePoolConfigDirPath()),
3939
StackTemplateTmplFile: fmt.Sprintf("%s/stack-template.json", nodePoolConfigDirPath()),
4040
}
4141
}

0 commit comments

Comments
 (0)