File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -753,4 +753,4 @@ mod test {
753753 // Assert that the deserialized data matches the original
754754 assert_eq ! ( faux, in_faux) ;
755755 }
756- }
756+ }
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ pub fn validate_system_requirements(
3333 Ok ( ( ) )
3434}
3535
36-
37-
3836/// Get required resources based on SVM and node type
3937///
4038/// # Arguments
@@ -133,9 +131,9 @@ pub fn validate_disk_space(
133131 . get ( "disk_available" )
134132 . and_then ( |s| {
135133 // Parse disk space - handle different units (G, T)
136- if s. ends_with ( 'G' ) {
134+ if s. ends_with ( "G" ) {
137135 s[ ..s. len ( ) - 1 ] . parse :: < f64 > ( ) . ok ( ) . map ( |v| v as u16 )
138- } else if s. ends_with ( 'T' ) {
136+ } else if s. ends_with ( "T" ) {
139137 s[ ..s. len ( ) - 1 ]
140138 . parse :: < f64 > ( )
141139 . ok ( )
@@ -154,4 +152,4 @@ pub fn validate_disk_space(
154152 }
155153
156154 Ok ( ( ) )
157- }
155+ }
You can’t perform that action at this time.
0 commit comments