From 7bdd0efe36073dab0c1e6f5ccc94ac2d1b846f4e Mon Sep 17 00:00:00 2001 From: Yussuf Shaikh Date: Tue, 14 Mar 2023 23:41:09 +0530 Subject: [PATCH] misc review changes Signed-off-by: Yussuf Shaikh --- cmd/capibmadm/cmd/powervs/network/create.go | 2 +- cmd/capibmadm/cmd/powervs/network/delete.go | 4 ++-- docs/book/src/topics/capibmadm/powervs/index.md | 2 +- docs/book/src/topics/capibmadm/powervs/network.md | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/capibmadm/cmd/powervs/network/create.go b/cmd/capibmadm/cmd/powervs/network/create.go index eeec09ec8..1ab29d0ec 100644 --- a/cmd/capibmadm/cmd/powervs/network/create.go +++ b/cmd/capibmadm/cmd/powervs/network/create.go @@ -82,7 +82,7 @@ Private network with ip address ranges: capibmadm powervs network create --priva func createNetwork(ctx context.Context, netCreateOption networkCreateOptions) error { log := logf.Log - log.Info("Creating Power VS network", "service-instance-id", options.GlobalOptions.ServiceInstanceID, "zone", options.GlobalOptions.PowerVSZone) + log.Info("Creating PowerVS network", "service-instance-id", options.GlobalOptions.ServiceInstanceID, "zone", options.GlobalOptions.PowerVSZone) accountID, err := utils.GetAccountID(ctx, iam.GetIAMAuth()) if err != nil { diff --git a/cmd/capibmadm/cmd/powervs/network/delete.go b/cmd/capibmadm/cmd/powervs/network/delete.go index 710fded0f..397299af2 100644 --- a/cmd/capibmadm/cmd/powervs/network/delete.go +++ b/cmd/capibmadm/cmd/powervs/network/delete.go @@ -31,7 +31,7 @@ import ( "sigs.k8s.io/cluster-api-provider-ibmcloud/cmd/capibmadm/utils" ) -// DeleteCommand function to delete network's port. +// DeleteCommand function to delete network. func DeleteCommand() *cobra.Command { cmd := &cobra.Command{ Use: "delete", @@ -54,7 +54,7 @@ capibmadm powervs network delete --network --service-i func deleteNetwork(ctx context.Context, networkID string) error { log := logf.Log - log.Info("Deleting Power VS network", "service-instance-id", options.GlobalOptions.ServiceInstanceID, "zone", options.GlobalOptions.PowerVSZone) + log.Info("Deleting PowerVS network", "service-instance-id", options.GlobalOptions.ServiceInstanceID, "zone", options.GlobalOptions.PowerVSZone) accountID, err := utils.GetAccountID(ctx, iam.GetIAMAuth()) if err != nil { diff --git a/docs/book/src/topics/capibmadm/powervs/index.md b/docs/book/src/topics/capibmadm/powervs/index.md index 01870939a..12a95ef5a 100644 --- a/docs/book/src/topics/capibmadm/powervs/index.md +++ b/docs/book/src/topics/capibmadm/powervs/index.md @@ -1,7 +1,7 @@ # capibmadm powervs `` -## 1. Power VS commands +## 1. PowerVS commands - [key](./key.md) - [create](/topics/capibmadm/powervs/key.html#1-capibmadm-powervs-key-create) - [delete](/topics/capibmadm/powervs/key.html#2-capibmadm-powervs-key-delete) diff --git a/docs/book/src/topics/capibmadm/powervs/network.md b/docs/book/src/topics/capibmadm/powervs/network.md index 7afa1cf34..05f642a9f 100644 --- a/docs/book/src/topics/capibmadm/powervs/network.md +++ b/docs/book/src/topics/capibmadm/powervs/network.md @@ -1,4 +1,4 @@ -## Power VS Network Commands +## PowerVS Network Commands ### 1. capibmadm powervs network create @@ -6,10 +6,10 @@ Create PowerVS network. #### Environmental Variable: -IBMCLOUD_API_KEY: IBM Cloud api key. +IBMCLOUD_API_KEY: IBM Cloud API key. #### Arguments: ---service-instance-id: Power VS service instance id. +--service-instance-id: PowerVS service instance id. --cidr: The network CIDR. Required for private network type. @@ -46,7 +46,7 @@ capibmadm powervs network create --private --cidr --ip-ranges - Delete PowerVS network. #### Environmental Variable: -IBMCLOUD_API_KEY: IBM Cloud api key. +IBMCLOUD_API_KEY: IBM Cloud API key. #### Arguments: --service-instance-id: PowerVS service instance id. @@ -68,7 +68,7 @@ capibmadm powervs network delete --network --service-i List PowerVS networks. #### Environmental Variable: -IBMCLOUD_API_KEY: IBM Cloud api key. +IBMCLOUD_API_KEY: IBM Cloud API key. #### Arguments: --service-instance-id: PowerVS service instance id.