-
Notifications
You must be signed in to change notification settings - Fork 374
SPDX: update cli and arch files to use SPDX #226
SPDX: update cli and arch files to use SPDX #226
Conversation
Many cli and arch files were using the 'older style' fairly full Apache license text. The project standard is the shorter SPDX style. Convert them over. Fixes: kata-containers#225 Signed-off-by: Graham whaley <graham.whaley@intel.com>
lgtm |
Codecov Report
@@ Coverage Diff @@
## master #226 +/- ##
==========================================
- Coverage 65.33% 65.26% -0.08%
==========================================
Files 73 74 +1
Lines 7709 7730 +21
==========================================
+ Hits 5037 5045 +8
- Misses 2128 2135 +7
- Partials 544 550 +6
Continue to review full report at Codecov.
|
@jodh-intel PTAL and merge if it's OK to you. Let's ignore the codecov/project error since it is just license change. |
Oh, yeah, I meant to mention the codecov. I don't really understand how it went down! |
Looking at codecov is on my todo list, but alas it isn't near to top ;) Let's merge this thing! |
By storing the network information such as routes as pointers, we end up having issues if we try to remove some elements from the list as at the same time this list is parsed through by a loop. For interfaces, we can use maps instead, because we have a way to keep track of them based on their names. Maps are safer and allow to keep pointers in this case. In both cases, routes and interfaces list can be modified properly while we loop over every items. Fixes kata-containers#226 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Many cli and arch files were using the 'older style' fairly full
Apache license text. The project standard is the shorter SPDX style.
Convert them over.
Fixes: #225
Signed-off-by: Graham whaley graham.whaley@intel.com