We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ac40d commit 10a4567Copy full SHA for 10a4567
api/instance/v1/server_utils.go
@@ -51,7 +51,7 @@ type WaitForServerRequest struct {
51
52
// WaitForServer wait for the server to be in a "terminal state" before returning.
53
// This function can be used to wait for a server to be started for example.
54
-func (s *API) WaitForServer(req *WaitForServerRequest) (*Server, scw.SdkError) {
+func (s *API) WaitForServer(req *WaitForServerRequest) (*Server, error) {
55
56
terminalStatus := map[ServerState]struct{}{
57
ServerStateStopped: {},
0 commit comments