Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Commit d729c25

Browse files
committed
Merge pull request #21 from percona/PCT-1098
PCT-1098
2 parents 5359b36 + f1f6348 commit d729c25

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

proto/create.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ type AgentConfig struct {
1313
}
1414

1515
type Agent struct {
16-
Uuid string
17-
Hostname string
18-
Version string
19-
Running bool // connected to API?
20-
QAN bool // has QAN config (running or not)?
21-
Configs []AgentConfig `json:",omitempty"`
22-
Links map[string]string `json:",omitempty"`
16+
Uuid string
17+
Hostname string
18+
Version string
19+
Running bool // connected to API?
20+
QAN bool // has QAN config
21+
QANRunning bool // is QAN running or not?
22+
Configs []AgentConfig `json:",omitempty"`
23+
Links map[string]string `json:",omitempty"`
2324
}

proto/query_example.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package proto
2+
3+
type QueryExample struct {
4+
DBName string `json:"dbname"`
5+
}

0 commit comments

Comments
 (0)