aristanetworks / goeapi

Go library for Arista's eAPI command API implementation
BSD 3-Clause "New" or "Revised" License
46 stars 31 forks source link

Add a variant of Config that exposes error information from the switch #36

Closed nzmsv closed 5 years ago

nzmsv commented 5 years ago

When applying an entire config to a switch it's often useful to know what command failed. The current API hides the error information. All this change does is expose it again.

codecov-io commented 5 years ago

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   88.95%   88.96%   +0.01%     
==========================================
  Files          21       21              
  Lines        2181     2184       +3     
==========================================
+ Hits         1940     1943       +3     
  Misses        195      195              
  Partials       46       46
Impacted Files Coverage Δ
client.go 91.96% <100%> (+0.09%) :arrow_up:

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 ec65454...3e6af22. Read the comment docs.