srl-labs / srl-controller

k8s controller for SR Linux nodes scheduled by KNE
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

relaxed regexp to parse version out of a tag #24

Closed hellt closed 1 year ago

hellt commented 1 year ago

to allow parsing custom image tags such as:

version_22.6.4-30192
codecov[bot] commented 1 year ago

Codecov Report

Merging #24 (beaf7b0) into main (88b58e7) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #24   +/-   ##
=======================================
  Coverage   19.71%   19.71%           
=======================================
  Files          10       10           
  Lines         771      771           
=======================================
  Hits          152      152           
  Misses        615      615           
  Partials        4        4           
Impacted Files Coverage Δ
api/types/v1alpha1/srl_version.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.