Skip to content

Commit bde7037

Browse files
authored
feat(baremetal): add support for User, ServiceUser & ServiceURL in ServerEvent (#1044)
1 parent ca5a3d0 commit bde7037

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/baremetal/v1/baremetal_sdk.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,6 @@ type Server struct {
802802
PingStatus ServerPingStatus `json:"ping_status"`
803803
// Options: options enabled on server
804804
Options []*ServerOption `json:"options"`
805-
// ServiceURL: the address of the installed service
806-
ServiceURL string `json:"service_url"`
807805
}
808806

809807
// ServerEvent: server event
@@ -828,6 +826,12 @@ type ServerInstall struct {
828826
//
829827
// Default value: unknown
830828
Status ServerInstallStatus `json:"status"`
829+
830+
User string `json:"user"`
831+
832+
ServiceUser string `json:"service_user"`
833+
834+
ServiceURL string `json:"service_url"`
831835
}
832836

833837
type ServerOption struct {

0 commit comments

Comments
 (0)