mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pvimg: Fix spelling of Enforcement
Fix spelling of CckExtensionSecretEnforcement and adhere to Rust capitalisation conventions. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jakob Naucke <naucke@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
efdadfcdb9
commit
8b9960abe9
@@ -92,12 +92,12 @@ fn parse_flags(
|
||||
lf.disable_cck_extension_secret
|
||||
.filter(|x| *x)
|
||||
.and(Some(ScfV1::all_disabled([
|
||||
ScfV1::CCKExtensionSecretEnforcment,
|
||||
ScfV1::CckExtensionSecretEnforcement,
|
||||
]))),
|
||||
lf.enable_cck_extension_secret
|
||||
.filter(|x| *x)
|
||||
.and(Some(ScfV1::all_enabled([
|
||||
ScfV1::CCKExtensionSecretEnforcment,
|
||||
ScfV1::CckExtensionSecretEnforcement,
|
||||
]))),
|
||||
]
|
||||
.into_iter()
|
||||
|
||||
@@ -204,7 +204,7 @@ impl ControlFlagTrait for PcfV1 {}
|
||||
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub enum ScfV1 {
|
||||
/// All add-secret requests must provide an extension secret
|
||||
CCKExtensionSecretEnforcment = 1,
|
||||
CckExtensionSecretEnforcement = 1,
|
||||
}
|
||||
pub type SecretControlFlagsV1 = ControlFlags<ScfV1>;
|
||||
impl ControlFlagTrait for ScfV1 {}
|
||||
|
||||
Reference in New Issue
Block a user