(ctx context.Context, req *agentproto.UpdateAppStatusRequest)
| 128 | } |
| 129 | |
| 130 | func (u *sdkAppStatusUpdater) updateAppStatus(ctx context.Context, req *agentproto.UpdateAppStatusRequest) error { |
| 131 | if u.drpcClient == nil { |
| 132 | return xerrors.New("dRPC client not initialized - call initialize first") |
| 133 | } |
| 134 | _, err := u.drpcClient.UpdateAppStatus(ctx, req) |
| 135 | return err |
| 136 | } |
| 137 | |
| 138 | func (u *sdkAppStatusUpdater) close() error { |
| 139 | if u.drpcClient == nil { |
nothing calls this directly
no test coverage detected