Skip to content

Commit

Permalink
Change the MetaDB of VM KeyPair with GORM
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Aug 15, 2023
1 parent c80a66d commit 32ca301
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 171 deletions.
4 changes: 2 additions & 2 deletions api-runtime/common-runtime/CommonManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1080,14 +1080,14 @@ func DeleteCSPResource(connectionName string, rsType string, systemID string) (b
// check empty and trim user inputs
connectionName, err := EmptyCheckAndTrim("connectionName", connectionName)
if err != nil {
return false, "", err
cblog.Error(err)
return false, "", err
}

systemID, err = EmptyCheckAndTrim("systemID", systemID)
if err != nil {
return false, "", err
cblog.Error(err)
return false, "", err
}

cldConn, err := ccm.GetCloudConnection(connectionName)
Expand Down
Loading

0 comments on commit 32ca301

Please sign in to comment.