Skip to content

Commit cfa75e5

Browse files
committed
these are string responses not bools
1 parent a2a1230 commit cfa75e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storm/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ type ServerStatus struct {
102102

103103
// ServerStop represents a stopped Storm Server response.
104104
type ServerStop struct {
105-
Shutdown bool `json:"shutdown"`
105+
Shutdown string `json:"shutdown"`
106106
}
107107

108108
// ServerReboot represents a rebooteed Storm Server response.
109109
type ServerReboot struct {
110-
Rebooted bool `json:"rebooted"`
110+
Rebooted string `json:"rebooted"`
111111
}
112112

113113
// ServerStart represents a started Storm Server response.
114114
type ServerStart struct {
115-
Started bool `json:"started"`
115+
Started string `json:"started"`
116116
}
117117

118118
// ServerRunningStatus represents a detailed status step of a Storm Server.

0 commit comments

Comments
 (0)