Skip to content

Commit 81e3bc1

Browse files
authored
Remove email prompt from CLI (#1750)
1 parent 8b50a2c commit 81e3bc1

File tree

3 files changed

+0
-76
lines changed

3 files changed

+0
-76
lines changed

cli/cmd/cluster.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ var _clusterUpCmd = &cobra.Command{
164164
exit.Error(err)
165165
}
166166

167-
if !_flagClusterDisallowPrompt {
168-
promptForEmail()
169-
}
170-
171167
if _flagClusterConfig != "" {
172168
// Deprecation: specifying aws creds in cluster configuration is no longer supported
173169
if err := detectAWSCredsInConfigFile(cmd.Use, _flagClusterConfig); err != nil {

cli/cmd/cluster_gcp.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ var _clusterGCPUpCmd = &cobra.Command{
131131
exit.Error(err)
132132
}
133133

134-
if !_flagClusterGCPDisallowPrompt {
135-
promptForEmail()
136-
}
137-
138134
accessConfig, err := getNewGCPClusterAccessConfig(_flagClusterGCPDisallowPrompt)
139135
if err != nil {
140136
exit.Error(err)

cli/cmd/lib_email.go

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)