refactor(instances): s/network/networks
This commit is contained in:
parent
7d8b478d20
commit
542b491b52
@ -21,7 +21,7 @@ import {
|
|||||||
Name,
|
Name,
|
||||||
Image,
|
Image,
|
||||||
Package,
|
Package,
|
||||||
Network,
|
Networks,
|
||||||
Tags,
|
Tags,
|
||||||
Metadata,
|
Metadata,
|
||||||
UserScript,
|
UserScript,
|
||||||
@ -142,11 +142,11 @@ class CreateInstance extends Component {
|
|||||||
/>
|
/>
|
||||||
</Margin>
|
</Margin>
|
||||||
<Margin bottom="5">
|
<Margin bottom="5">
|
||||||
<Network
|
<Networks
|
||||||
ref={this.setIsValid('networks')}
|
ref={this.setIsValid('networks')}
|
||||||
expanded={step === 'networks'}
|
expanded={step === 'networks'}
|
||||||
next="tags"
|
next="tags"
|
||||||
saved={steps.network}
|
saved={steps.networks}
|
||||||
onDefocus={handleDefocus('networks')}
|
onDefocus={handleDefocus('networks')}
|
||||||
preview={networks}
|
preview={networks}
|
||||||
/>
|
/>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
export { default as Name } from './name';
|
export { default as Name } from './name';
|
||||||
export { default as Image } from './image';
|
export { default as Image } from './image';
|
||||||
export { default as Package } from './package';
|
export { default as Package } from './package';
|
||||||
export { default as Network } from './network';
|
export { default as Networks } from './networks';
|
||||||
export { default as Tags } from './tags';
|
export { default as Tags } from './tags';
|
||||||
export { default as Metadata } from './metadata';
|
export { default as Metadata } from './metadata';
|
||||||
export { default as UserScript } from './user-script';
|
export { default as UserScript } from './user-script';
|
||||||
|
@ -32,7 +32,7 @@ const Form = styled.form`
|
|||||||
padding-top: ${remcalc(1)};
|
padding-top: ${remcalc(1)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Network = ({
|
const Networks = ({
|
||||||
preview = [],
|
preview = [],
|
||||||
initialValues,
|
initialValues,
|
||||||
handleGetValue,
|
handleGetValue,
|
||||||
@ -43,7 +43,7 @@ const Network = ({
|
|||||||
loading,
|
loading,
|
||||||
...props
|
...props
|
||||||
}) => (
|
}) => (
|
||||||
<Step name="network" getValue={handleGetValue} {...props}>
|
<Step name="networks" getValue={handleGetValue} {...props}>
|
||||||
<StepHeader icon={<NetworkIcon />}>Networks</StepHeader>
|
<StepHeader icon={<NetworkIcon />}>Networks</StepHeader>
|
||||||
<StepDescription href={'https://docs.joyent.com/public-cloud/network/sdn'}>
|
<StepDescription href={'https://docs.joyent.com/public-cloud/network/sdn'}>
|
||||||
Instances are automatically connected to a private fabric network, which
|
Instances are automatically connected to a private fabric network, which
|
||||||
@ -193,4 +193,4 @@ export default compose(
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)(Network);
|
)(Networks);
|
Loading…
Reference in New Issue
Block a user