Re: Review Request 39155: RegistryClient refactor: removed nested namespace references

2015-10-30 Thread Ben Mahler

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39155/#review104578
---


Hm.. the summary title of this review was a bit confusing for me, how about 
something like 'Added a using statement in docker registry client.' (although 
per my suggestions below a namespace alias might be nicer here).

I wasn't able to apply this patch, so I've committed a cleanup of the includes 
and using statements that captures the intent here, I'll mark this as submitted 
to make the chain clear.


src/slave/containerizer/provisioner/docker/registry_client.cpp (lines 37 - 39)


How about we use namespace aliases for these to be more explicit about what 
kind of Request, Response, Headers are used here?

Seeing http::Headers, http::Request, http::Response in the code below seems 
a bit clearer to the reader?



src/slave/containerizer/provisioner/docker/registry_client.cpp (lines 51 - 52)


Hm.. why did this move?


- Ben Mahler


On Oct. 14, 2015, 4:05 p.m., Jojy Varghese wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39155/
> ---
> 
> (Updated Oct. 14, 2015, 4:05 p.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> RegistryClient refactor: removed nested namespace references
> 
> 
> Diffs
> -
> 
>   src/slave/containerizer/provisioner/docker/registry_client.cpp 
> 471783d88b73b62afacac3d7952ebb5d5f442097 
> 
> Diff: https://reviews.apache.org/r/39155/diff/
> 
> 
> Testing
> ---
> 
> make check.
> 
> 
> Thanks,
> 
> Jojy Varghese
> 
>



Re: Review Request 39155: RegistryClient refactor: removed nested namespace references

2015-10-14 Thread Jojy Varghese

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39155/
---

(Updated Oct. 14, 2015, 4:05 p.m.)


Review request for mesos and Ben Mahler.


Changes
---

rebased


Repository: mesos


Description
---

RegistryClient refactor: removed nested namespace references


Diffs (updated)
-

  src/slave/containerizer/provisioner/docker/registry_client.cpp 
471783d88b73b62afacac3d7952ebb5d5f442097 

Diff: https://reviews.apache.org/r/39155/diff/


Testing
---

make check.


Thanks,

Jojy Varghese



Re: Review Request 39155: RegistryClient refactor: removed nested namespace references

2015-10-13 Thread Jojy Varghese

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39155/
---

(Updated Oct. 13, 2015, 7:17 p.m.)


Review request for mesos and Ben Mahler.


Changes
---

rebased


Repository: mesos


Description
---

RegistryClient refactor: removed nested namespace references


Diffs (updated)
-

  src/slave/containerizer/provisioner/docker/registry_client.cpp 
4931ae8869a697b1e9d8d4cbc0a871e7cd506285 

Diff: https://reviews.apache.org/r/39155/diff/


Testing
---

make check.


Thanks,

Jojy Varghese