executeGetUID executes getuid command
(ctx context.Context, client *csclient.Client, beaconID string)
| 821 | |
| 822 | // executeGetUID executes getuid command |
| 823 | func (e *Executor) executeGetUID(ctx context.Context, client *csclient.Client, beaconID string) (string, error) { |
| 824 | resp, err := client.GetUID(ctx, beaconID) |
| 825 | if err != nil { |
| 826 | return "", err |
| 827 | } |
| 828 | |
| 829 | return e.waitForOutput(ctx, client, resp.TaskID) |
| 830 | } |
| 831 | |
| 832 | // executeGetSystem executes getsystem command |
| 833 | func (e *Executor) executeGetSystem(ctx context.Context, client *csclient.Client, beaconID string) (string, error) { |
no test coverage detected