Commit aa31d193 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50693 from allencloud/fix-typos-in-quobyte

Automatic merge from submit-queue (batch tested with PRs 50693, 50831, 47506, 49119, 50871) fix two typos in quobyte error message Signed-off-by: 's avatarallencloud <allen.sun@daocloud.io> **What this PR does / why we need it**: fix two typos in quobyte error message **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: NONE **Special notes for your reviewer**: NONE **Release note**: ```release-note NONE ```
parents baf2f85e 5497b328
...@@ -395,7 +395,7 @@ func (provisioner *quobyteVolumeProvisioner) Provision() (*v1.PersistentVolume, ...@@ -395,7 +395,7 @@ func (provisioner *quobyteVolumeProvisioner) Provision() (*v1.PersistentVolume,
} }
if !validateRegistry(provisioner.registry) { if !validateRegistry(provisioner.registry) {
return nil, fmt.Errorf("Quoybte registry missing or malformed: must be a host:port pair or multiple pairs separated by commas") return nil, fmt.Errorf("Quobyte registry missing or malformed: must be a host:port pair or multiple pairs separated by commas")
} }
// create random image name // create random image name
...@@ -465,7 +465,7 @@ func parseAPIConfig(plugin *quobytePlugin, params map[string]string) (*quobyteAP ...@@ -465,7 +465,7 @@ func parseAPIConfig(plugin *quobytePlugin, params map[string]string) (*quobyteAP
} }
if len(apiServer) == 0 { if len(apiServer) == 0 {
return nil, fmt.Errorf("Quoybte API server missing or malformed: must be a http(s)://host:port pair or multiple pairs separated by commas") return nil, fmt.Errorf("Quobyte API server missing or malformed: must be a http(s)://host:port pair or multiple pairs separated by commas")
} }
secretMap, err := util.GetSecretForPV(secretNamespace, secretName, quobytePluginName, plugin.host.GetKubeClient()) secretMap, err := util.GetSecretForPV(secretNamespace, secretName, quobytePluginName, plugin.host.GetKubeClient())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment