Skip to content

Commit

Permalink
Merge pull request #636 from Juniper/bug/635-overlay-control-protocol…
Browse files Browse the repository at this point in the history
…-static-unknown

Missing `return` in rosetta leads to sending friendly string to API
  • Loading branch information
chrismarget-j authored Apr 4, 2024
2 parents 341beee + 95d9cc6 commit ba9a50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apstra/utils/rosetta.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ func overlayControlProtocolFromFriendlyString(target *apstra.OverlayControlProto
switch in[0] {
case overlayControlProtocolStatic:
*target = apstra.OverlayControlProtocolNone
return nil
}

return target.FromString(in[0])
Expand Down

0 comments on commit ba9a50e

Please sign in to comment.