Skip to content

Commit

Permalink
remove "original_source"
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Dec 16, 2023
1 parent 795387c commit dab5bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checker/check-api-removed.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func APIRemovedCheck(diffReport *diff.Diff, operationsSources *diff.OperationsSo
for operation := range diffReport.PathsDiff.Base.Value(path).Operations() {
op := diffReport.PathsDiff.Base.Value(path).Operations()[operation]
if !op.Deprecated {
source := "original_source=" + (*operationsSources)[op]
source := (*operationsSources)[op]
result = append(result, ApiChange{
Id: APIPathRemovedWithoutDeprecationId,
Level: ERR,
Expand All @@ -42,7 +42,7 @@ func APIRemovedCheck(diffReport *diff.Diff, operationsSources *diff.OperationsSo
}
rawDate, date, err := getSunsetDate(op.Extensions)
if err != nil {
source := "original_source=" + (*operationsSources)[op]
source := (*operationsSources)[op]
result = append(result, ApiChange{
Id: APIPathSunsetParseId,
Level: ERR,
Expand Down

0 comments on commit dab5bee

Please sign in to comment.