Skip to content

Commit

Permalink
[CLOUDTRUST-4985] Remove unreachable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fperot74 authored Jun 14, 2023
1 parent 203e7a6 commit 73f7d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (os OptionalString) ToValueExt(undefinedValue *string, defaultValue *string
if !os.Defined {
return undefinedValue
}
if !os.Defined || os.Value == nil {
if os.Value == nil {
return defaultValue
}
return os.Value
Expand Down

0 comments on commit 73f7d52

Please sign in to comment.