Skip to content

Commit

Permalink
Fix ls_link_log unreserved_bw and missing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
TimEvens committed Oct 12, 2022
1 parent 7abb4f5 commit fec3ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/1_base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ CREATE TABLE ls_links_log (
admin_group bigint NOT NULL,
max_link_bw bigint,
max_resv_bw bigint,
unreserved_bw varchar(60),
unreserved_bw varchar(128),
te_def_metric bigint,
protection_type varchar(60),
mpls_proto_mask ls_mpls_proto_mask,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openbmp/psqlquery/LsLinkQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public Map<String, String> genValuesStatement() {
sb.append(pojo.getRemote_link_id()); sb.append(',');
sb.append('\''); sb.append(pojo.getLocal_node_hash()); sb.append("'::uuid,");
sb.append('\''); sb.append(pojo.getRemote_node_hash()); sb.append("'::uuid,");
sb.append(pojo.getAdmin_group()); sb.append("::bigint");
sb.append(pojo.getAdmin_group()); sb.append("::bigint"); sb.append(',');
sb.append(pojo.getMax_link_bw()); sb.append(',');
sb.append(pojo.getMax_resv_bw()); sb.append(',');
sb.append('\''); sb.append(pojo.getUnreserved_bw()); sb.append("',");
Expand Down

0 comments on commit fec3ba5

Please sign in to comment.