Skip to content

Commit

Permalink
vtctld: vttablet proxy UI changes and test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sugu Sougoumarane <[email protected]>
  • Loading branch information
sougou committed Apr 13, 2020
1 parent 1b90e9d commit 5328fd8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 43 deletions.
8 changes: 1 addition & 7 deletions go/vt/vtctld/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,20 +193,14 @@ func TestAPI(t *testing.T) {
{"GET", "tablets/?shard=ks1%2F80-&cell=cell1", "", `[]`},
{"GET", "tablets/cell1-100", "", `{
"alias": {"cell": "cell1", "uid": 100},
"hostname": "",
"port_map": {"vt": 100},
"keyspace": "ks1",
"shard": "-80",
"key_range": {
"start": null,
"end": "gA=="
},
"type": 2,
"db_name_override": "",
"tags": {},
"mysql_hostname":"",
"mysql_port":0,
"master_term_start_time":null
"url":"http://:100"
}`},
{"GET", "tablets/nonexistent-999", "", "404 page not found"},
{"POST", "tablets/cell1-100?action=TestTabletAction", "", `{
Expand Down
68 changes: 34 additions & 34 deletions go/vt/vtctld/rice-box.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/vtctld2/app/main.3a2141f06032f2bc1229.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/vtctld2/src/app/dashboard/shard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class="vt-title">{{keyspaceName}}/{{shardName}}</h1>
</p-column>
<p-column header="Status">
<template let-tab="rowData">
<a href="{{getUrl(tab)}}">
<a href="{{tab.url)}}">
<button md-button>Status</button>
</a>
</template>
Expand Down

0 comments on commit 5328fd8

Please sign in to comment.