Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon: use client.Snap instead of map[string]interface{} for snaps. #3968

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

chipaca
Copy link
Contributor

@chipaca chipaca commented Sep 26, 2017

A small refactoring branch that drops the hacky and error-prone
map[string]interface{} and switches to use client.Snap.

This should make asking for some fields easier, which is what I was looking at
when the need for this arose.

A small refactoring branch that drops the hacky and error-prone
`map[string]interface{}` and switches to use client.Snap.

This should make asking for some fields easier, which is what I was looking at
when the need for this arose.
@codecov-io
Copy link

codecov-io commented Sep 26, 2017

Codecov Report

Merging #3968 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3968      +/-   ##
==========================================
+ Coverage   75.96%   75.98%   +0.01%     
==========================================
  Files         423      423              
  Lines       36525    36505      -20     
==========================================
- Hits        27748    27737      -11     
+ Misses       6836     6830       -6     
+ Partials     1941     1938       -3
Impacted Files Coverage Δ
daemon/snap.go 85.6% <100%> (+2.39%) ⬆️
daemon/api.go 72.34% <100%> (-0.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41a23c8...e6d3027. Read the comment docs.

Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

❤️

Copy link
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

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

A little less like python, +1

@zyga zyga merged commit ce477e4 into canonical:master Sep 27, 2017
@chipaca chipaca deleted the daemon-use-cient-snap branch November 14, 2017 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants