Skip to content

Commit 638d14e

Browse files
allmightyspiffGitHub Enterprise
authored andcommitted
Merge pull request #870 from SoftLayer/issues728
updated some doc strings for block/replica_locations
2 parents 65ee911 + 78f30f2 commit 638d14e

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

plugin/commands/block/replica_locations.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ func NewReplicaLocationsCommand(sl *metadata.SoftlayerStorageCommand) *ReplicaLo
2626
cobraCmd := &cobra.Command{
2727
Use: "replica-locations " + T("IDENTIFIER"),
2828
Short: T("List suitable replication datacenters for the given volume"),
29-
Long: T(`${COMMAND_NAME} sl {{.storageType}} replica-locations VOLUME_ID [OPTIONS]
30-
29+
Long: T(`
3130
EXAMPLE:
3231
${COMMAND_NAME} sl {{.storageType}} replica-locations 12345678
3332
This command lists suitable replication data centers for block volume with ID 12345678.`, sl.StorageI18n),

plugin/i18n/v2Resources/active.en-US.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-locations 12345678\n This command lists suitable replication data centers for block volume with ID 12345678.": {
3+
"other": "\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-locations 12345678\n This command lists suitable replication data centers for block volume with ID 12345678."
4+
},
25
"\nLUN name": {
36
"other": "\nLUN name"
47
},
@@ -356,9 +359,6 @@
356359
"${COMMAND_NAME} sl {{.storageType}} replica-failover VOLUME_ID REPLICA_ID\n\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-failover 12345678 87654321\n This command performs failover operation for volume with ID 12345678 to replica volume with ID 87654321.": {
357360
"other": "${COMMAND_NAME} sl {{.storageType}} replica-failover VOLUME_ID REPLICA_ID\n\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-failover 12345678 87654321\n This command performs failover operation for volume with ID 12345678 to replica volume with ID 87654321."
358361
},
359-
"${COMMAND_NAME} sl {{.storageType}} replica-locations VOLUME_ID [OPTIONS]\n\t\t\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-locations 12345678\n This command lists suitable replication data centers for block volume with ID 12345678.": {
360-
"other": "${COMMAND_NAME} sl {{.storageType}} replica-locations VOLUME_ID [OPTIONS]\n\t\t\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-locations 12345678\n This command lists suitable replication data centers for block volume with ID 12345678."
361-
},
362362
"${COMMAND_NAME} sl {{.storageType}} replica-order VOLUME_ID [OPTIONS]\n\t\t\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-order 12345678 -s DAILY -d dal09 --tier 4 --os-type LINUX\n This command orders a replica for volume with ID 12345678, which performs DAILY replication, is located at dal09, tier level is 4, OS type is Linux.": {
363363
"other": "${COMMAND_NAME} sl {{.storageType}} replica-order VOLUME_ID [OPTIONS]\n\t\t\nEXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} replica-order 12345678 -s DAILY -d dal09 --tier 4 --os-type LINUX\n This command orders a replica for volume with ID 12345678, which performs DAILY replication, is located at dal09, tier level is 4, OS type is Linux."
364364
},

0 commit comments

Comments
 (0)