Skip to content

Commit

Permalink
rm email requirement
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com>
  • Loading branch information
theBeginner86 committed Dec 15, 2024
1 parent f6f9374 commit 87c315e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/kanvas-snapshot/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var generateKanvasSnapshotCmd = &cobra.Command{
}

if email == "" {
loader(2*time.Minute + 40*time.Second) // Loader running for 2 minutes and 40 seconds
// loader(2*time.Minute + 40*time.Second) // Loader running for 2 minutes and 40 seconds
Log.Infof("\nSnapshot generated. Snapshot URL: %s\n", assetLocation)
} else {
Log.Info("You will be notified via email when your snapshot is ready.")
Expand Down Expand Up @@ -240,7 +240,6 @@ func Main(providerToken, mesheryCloudAPIBaseURL, mesheryAPIBaseURL, workflowAcce
generateKanvasSnapshotCmd.Flags().StringVarP(&email, "email", "e", "", "Optional email to associate with the Meshery design")

_ = generateKanvasSnapshotCmd.MarkFlagRequired("file")
_ = generateKanvasSnapshotCmd.MarkFlagRequired("email")

if err := generateKanvasSnapshotCmd.Execute(); err != nil {
Log.Error(err)
Expand Down

0 comments on commit 87c315e

Please sign in to comment.