executeGetSystemInfo retrieves team server system information
(ctx context.Context, client *csclient.Client)
| 240 | |
| 241 | // executeGetSystemInfo retrieves team server system information |
| 242 | func (e *Executor) executeGetSystemInfo(ctx context.Context, client *csclient.Client) (string, error) { |
| 243 | e.logInfo("Getting system information") |
| 244 | resp, err := client.GetSystemInformation(ctx) |
| 245 | if err != nil { |
| 246 | return "", fmt.Errorf("get system information failed: %w", err) |
| 247 | } |
| 248 | return resp, nil |
| 249 | } |
| 250 | |
| 251 | // executeGetTeamserverIp retrieves the team server IP |
| 252 | func (e *Executor) executeGetTeamserverIp(ctx context.Context, client *csclient.Client) (string, error) { |