(status storepb.Advice_Status)
| 1307 | } |
| 1308 | |
| 1309 | func convertToPlanCheckRunResultStatus(status storepb.Advice_Status) v1pb.Advice_Level { |
| 1310 | switch status { |
| 1311 | case storepb.Advice_STATUS_UNSPECIFIED: |
| 1312 | return v1pb.Advice_ADVICE_LEVEL_UNSPECIFIED |
| 1313 | case storepb.Advice_SUCCESS: |
| 1314 | return v1pb.Advice_SUCCESS |
| 1315 | case storepb.Advice_WARNING: |
| 1316 | return v1pb.Advice_WARNING |
| 1317 | case storepb.Advice_ERROR: |
| 1318 | return v1pb.Advice_ERROR |
| 1319 | default: |
| 1320 | return v1pb.Advice_ADVICE_LEVEL_UNSPECIFIED |
| 1321 | } |
| 1322 | } |
no outgoing calls
no test coverage detected