executeGetTeamserverIp retrieves the team server IP
(ctx context.Context, client *csclient.Client)
| 250 | |
| 251 | // executeGetTeamserverIp retrieves the team server IP |
| 252 | func (e *Executor) executeGetTeamserverIp(ctx context.Context, client *csclient.Client) (string, error) { |
| 253 | e.logInfo("Getting teamserver IP") |
| 254 | resp, err := client.GetTeamserverIp(ctx) |
| 255 | if err != nil { |
| 256 | return "", fmt.Errorf("get teamserver ip failed: %w", err) |
| 257 | } |
| 258 | return resp, nil |
| 259 | } |