Fix Typo to improve GoReportCard

This commit is contained in:
asifdxtreme 2017-08-08 10:48:14 +08:00
parent 38608bd802
commit 18f6edd850
5 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ type CreateInstanceGroupOptions struct {
var (
create_ig_long = templates.LongDesc(i18n.T(`
Create an instancegroup configuration. kops has the concept of "instance groups",
which are a group of similar virutal machines. On AWS, they map to an
which are a group of similar virtual machines. On AWS, they map to an
AutoScalingGroup. An ig work either as a Kubernetes master or a node.`))
create_ig_example = templates.Examples(i18n.T(`

View File

@ -35,7 +35,7 @@ import (
var (
delete_ig_long = templates.LongDesc(i18n.T(`
Delete an instancegroup configuration. kops has the concept of "instance groups",
which are a group of similar virutal machines. On AWS, they map to an
which are a group of similar virtual machines. On AWS, they map to an
AutoScalingGroup. An ig work either as a Kubernetes master or a node.`))
delete_ig_example = templates.Examples(i18n.T(`

View File

@ -32,7 +32,7 @@ type SecretBuilder struct {
var _ fi.ModelBuilder = &SecretBuilder{}
// Build is responisble for pulling down the secrets
// Build is responsible for pulling down the secrets
func (b *SecretBuilder) Build(c *fi.ModelBuilderContext) error {
if b.KeyStore == nil {
return fmt.Errorf("KeyStore not set")

View File

@ -140,7 +140,7 @@ type ClusterSpec struct {
// Hooks for custom actions e.g. on first installation
Hooks []HookSpec `json:"hooks,omitempty"`
// Alternative locations for files and containers
// This API component is under contruction, will remove this comment
// This API component is under construction, will remove this comment
// once this API is fully functional.
Assets *Assets `json:"assets,omitempty"`
}

View File

@ -428,7 +428,7 @@ func getRecords(c *godo.Client, zoneName string) ([]godo.DomainRecord, error) {
return records, nil
}
// createRecord creates a record given an assoicated zone and a godo.DomainRecordEditRequest
// createRecord creates a record given an associated zone and a godo.DomainRecordEditRequest
func createRecord(c *godo.Client, zoneName string, createRequest *godo.DomainRecordEditRequest) error {
_, resp, err := c.Domains.CreateRecord(context.TODO(), zoneName, createRequest)
if err != nil {