Skip to content

Commit

Permalink
refactore the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Yadav committed Nov 18, 2024
1 parent d660190 commit 775049c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webv2/api/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ func UpdateCheckConstraint(w http.ResponseWriter, r *http.Request) {
if err != nil {
http.Error(w, fmt.Sprintf("Body Read Error : %v", err), http.StatusInternalServerError)
}
// internal.ToSpannerCheckConstraintName()
sessionState := session.GetSessionState()
if sessionState.Conv == nil || sessionState.Driver == "" {
http.Error(w, fmt.Sprintf("Schema is not converted or Driver is not configured properly. Please retry converting the database to Spanner."), http.StatusNotFound)
Expand Down

0 comments on commit 775049c

Please sign in to comment.