File tree 6 files changed +9
-6
lines changed
6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 3
3
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
4
5
5
pub mod http_entrypoints;
6
- pub mod params;
6
+
7
+ pub use nexus_types:: internal_api:: params;
Original file line number Diff line number Diff line change @@ -272,15 +272,11 @@ pub enum IpKind {
272
272
273
273
#[ cfg( test) ]
274
274
mod test {
275
- use super :: IdentityType ;
276
275
use super :: Policy ;
277
276
use super :: MAX_ROLE_ASSIGNMENTS_PER_RESOURCE ;
278
- use crate :: external_api:: shared;
279
277
use crate :: external_api:: shared:: IpRange ;
280
278
use crate :: external_api:: shared:: Ipv4Range ;
281
279
use crate :: external_api:: shared:: Ipv6Range ;
282
- use anyhow:: anyhow;
283
- use omicron_common:: api:: external:: Error ;
284
280
use serde:: Deserialize ;
285
281
use std:: net:: Ipv4Addr ;
286
282
use std:: net:: Ipv6Addr ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub trait Resource {
31
31
fn identity ( & self ) -> IdentityMetadata {
32
32
IdentityMetadata {
33
33
id : self . id ( ) ,
34
- name : self . name ( ) . clone ( ) . into ( ) ,
34
+ name : self . name ( ) . clone ( ) ,
35
35
description : self . description ( ) . to_string ( ) ,
36
36
time_created : self . time_created ( ) ,
37
37
time_modified : self . time_modified ( ) ,
Original file line number Diff line number Diff line change
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
+
5
+ pub mod params;
File renamed without changes.
Original file line number Diff line number Diff line change 4
4
5
5
pub mod external_api;
6
6
pub mod identity;
7
+ pub mod internal_api;
You can’t perform that action at this time.
0 commit comments