@@ -191,7 +191,7 @@ pub struct PolicyEntry {
191191 #[ default( PolicyType :: Acl ) ]
192192 #[ serde( rename = "type" ) ]
193193 pub policy_type : PolicyType ,
194- pub sentinal_policy : SentinelPolicy ,
194+ pub sentinel_policy : SentinelPolicy ,
195195}
196196
197197/// The main policy store structure.
@@ -448,13 +448,13 @@ impl PolicyStore {
448448 view. delete ( & name) . await ?;
449449 self . remove_token_policy_cache ( & index) ?;
450450 self . policy_type_map . remove ( & index) ;
451- self . invalidate_sentinal_policy ( policy_type, "" ) ?;
451+ self . invalidate_sentinel_policy ( policy_type, "" ) ?;
452452 }
453453 PolicyType :: Egp => {
454454 view. delete ( & name) . await ?;
455455 self . remove_egp_cache ( & index) ?;
456456 self . invalidate_egp_tree_path ( "" ) ?;
457- self . invalidate_sentinal_policy ( policy_type, "" ) ?;
457+ self . invalidate_sentinel_policy ( policy_type, "" ) ?;
458458 }
459459 _ => {
460460 return Err ( rv_error_string ! ( "unknown policy type, cannot set" ) ) ;
@@ -527,7 +527,7 @@ impl PolicyStore {
527527 templated : policy. templated ,
528528 raw : policy. raw . clone ( ) ,
529529 policy_type : policy. policy_type ,
530- sentinal_policy : policy. sentinal_policy ,
530+ sentinel_policy : policy. sentinal_policy ,
531531 } ;
532532
533533 let entry = StorageEntry :: new ( & policy. name , & pe) ?;
@@ -594,7 +594,7 @@ impl PolicyStore {
594594 match & self . rgp_view {
595595 Some ( view) => Ok ( view. clone ( ) ) ,
596596 None => Err ( rv_error_string ! (
597- "unable to get the barrier subview for policy type rpg "
597+ "unable to get the barrier subview for policy type rgp "
598598 ) ) ,
599599 }
600600 }
@@ -603,7 +603,7 @@ impl PolicyStore {
603603 match & self . egp_view {
604604 Some ( view) => Ok ( view. clone ( ) ) ,
605605 None => Err ( rv_error_string ! (
606- "unable to get the barrier subview for policy type epg "
606+ "unable to get the barrier subview for policy type egp "
607607 ) ) ,
608608 }
609609 }
@@ -653,7 +653,7 @@ impl PolicyStore {
653653 Ok ( ( ) )
654654 }
655655
656- fn invalidate_sentinal_policy (
656+ fn invalidate_sentinel_policy (
657657 & self ,
658658 _policy_type : PolicyType ,
659659 _index : & str ,
0 commit comments