Skip to content

Commit

Permalink
remove api delete from upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Thenujan-Nagaratnam committed May 13, 2024
1 parent 895aac6 commit 813cdd5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions import-export-cli/impl/aiUploadApis.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ func AIUploadAPIs(credential credentials.Credential, cmdUploadEnvironment, onPre
os.Exit(1)
}

// AIDeleteAPIs(Credential, cmdUploadEnvironment, onPremKey, endpointUrl, Tenant)

accessToken, err := credentials.GetOAuthAccessToken(credential, cmdUploadEnvironment)

if err != nil {
Expand Down Expand Up @@ -79,7 +77,6 @@ func ProcessAPIs(accessToken string, apiListQueue chan<- []map[string]interface{
apiListOffset = 0
startingApiIndexFromList = 0
if UploadAll {
AIDeleteAPIs(Credential, CmdUploadEnvironment, OnPremKey, Endpoint, Tenant)
count, apis = getAPIList(Credential, CmdUploadEnvironment, "")
AddAPIsToQueue(accessToken, apiListQueue)
apiListOffset = 0
Expand Down

0 comments on commit 813cdd5

Please sign in to comment.