Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Jun 7, 2024
1 parent 33b5bbc commit 13bb863
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions pkg/types/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,36 +354,3 @@ func (parsedModel *Model) FindSharedRuntimeHighestAvailability(sharedRuntime *Sh
}
return highest
}

/*func (what SharedRuntime) HighestConfidentiality(model *Model) Confidentiality {
- highest := Public
- for _, id := range what.TechnicalAssetsRunning {
- techAsset := model.TechnicalAssets[id]
- if techAsset.HighestProcessedConfidentiality(model) > highest {
- highest = techAsset.HighestProcessedConfidentiality(model)
- }
- }
- return highest
-}
-
-func (what SharedRuntime) HighestIntegrity(model *Model) Criticality {
- highest := Archive
- for _, id := range what.TechnicalAssetsRunning {
- techAsset := model.TechnicalAssets[id]
- if techAsset.HighestProcessedIntegrity(model) > highest {
- highest = techAsset.HighestProcessedIntegrity(model)
- }
- }
- return highest
-}
-
-func (what SharedRuntime) HighestAvailability(model *Model) Criticality {
- highest := Archive
- for _, id := range what.TechnicalAssetsRunning {
- techAsset := model.TechnicalAssets[id]
- if techAsset.HighestProcessedAvailability(model) > highest {
- highest = techAsset.HighestProcessedAvailability(model)
- }
- }
- return highest
-}*/

0 comments on commit 13bb863

Please sign in to comment.