Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Switch to explicit api versions #79

Merged
merged 1 commit into from
Dec 17, 2019
Merged

Switch to explicit api versions #79

merged 1 commit into from
Dec 17, 2019

Conversation

feymartynov
Copy link
Contributor

No description provided.

let response_topic = Subscription::multicast_requests_from(to)
.subscription_topic(&self.me)
let response_topic = Subscription::multicast_requests_from(to, Some("v1"))
.subscription_topic(&self.me, "v1")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that the current agent's version (Conference)?

@@ -120,7 +120,8 @@ where
.build();

let timing = ShortTermTimingProperties::until_now(start_timestamp);
let resp = OutgoingResponse::unicast(err, props.to_response(status, timing), props);
let resp =
OutgoingResponse::unicast(err, props.to_response(status, timing), props, "v1");
Copy link
Member

@manifest manifest Dec 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For any response we already know its version. It presented in the related request.

@feymartynov feymartynov merged commit def43dd into master Dec 17, 2019
@feymartynov feymartynov deleted the feature/ULMS-711 branch December 17, 2019 03:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants