From d5111d795aafd6689c12b41b28ef48fc7718a23f Mon Sep 17 00:00:00 2001 From: Karthikeyan C Date: Thu, 1 Aug 2024 14:07:28 +0530 Subject: [PATCH] add a success log on completion --- registry-automation/cmd/ci.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/registry-automation/cmd/ci.go b/registry-automation/cmd/ci.go index 901f9174..7e72ed00 100644 --- a/registry-automation/cmd/ci.go +++ b/registry-automation/cmd/ci.go @@ -222,6 +222,8 @@ func runCI(cmd *cobra.Command, args []string) { log.Fatalf("Failed to update the registry: %v", err) } } + + fmt.Println("Successfully added connector versions to the registry.") } func cleanupUploadedConnectorVersions(client *storage.Client, connectorVersions []ConnectorVersion) error { @@ -452,8 +454,5 @@ mutation InsertConnectorVersion($connectorVersion: [hub_registry_connector_versi return err } - // print the respData - fmt.Println("Response from the API: ", respData) - return nil }