From 87c315ef398282e6d8430dc2a1e054c5af616ba7 Mon Sep 17 00:00:00 2001 From: Pranav Singh Date: Sun, 15 Dec 2024 16:43:50 +0530 Subject: [PATCH] rm email requirement Signed-off-by: Pranav Singh --- cmd/kanvas-snapshot/cmd.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/kanvas-snapshot/cmd.go b/cmd/kanvas-snapshot/cmd.go index 3731a503f2..e9be027bd0 100644 --- a/cmd/kanvas-snapshot/cmd.go +++ b/cmd/kanvas-snapshot/cmd.go @@ -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.") @@ -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)