spelling: function

This commit is contained in:
Josh Soref 2018-03-13 07:52:02 +00:00
parent b545c6f87e
commit 24b4c36fc9
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ type StepValidateTemplate struct {
FeeSystemTypeCode string
}
// NewStepValidateTemplate : funciton for Validation a tempalte
// NewStepValidateTemplate : function for Validation a tempalte
func NewStepValidateTemplate(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepValidateTemplate {
var step = &StepValidateTemplate{
Conn: conn,
@ -249,7 +249,7 @@ func (s *StepValidateTemplate) validateTemplate() error {
return s.validateServerProductCode()
}
// Run : main funciton for validation a template
// Run : main function for validation a template
func (s *StepValidateTemplate) Run(_ context.Context, state multistep.StateBag) multistep.StepAction {
s.Say("Validating deployment template ...")

View File

@ -694,7 +694,7 @@ func TestRetryable(t *testing.T) {
err := p.Prepare(config)
err = p.retryable(retryMe)
if err != nil {
t.Fatalf("should not have error retrying funuction")
t.Fatalf("should not have error retrying function")
}
count = 0
@ -702,7 +702,7 @@ func TestRetryable(t *testing.T) {
err = p.Prepare(config)
err = p.retryable(retryMe)
if err == nil {
t.Fatalf("should have error retrying funuction")
t.Fatalf("should have error retrying function")
}
}

View File

@ -434,7 +434,7 @@ func TestRetryable(t *testing.T) {
err := p.Prepare(config)
err = p.retryable(retryMe)
if err != nil {
t.Fatalf("should not have error retrying funuction")
t.Fatalf("should not have error retrying function")
}
count = 0
@ -442,7 +442,7 @@ func TestRetryable(t *testing.T) {
err = p.Prepare(config)
err = p.retryable(retryMe)
if err == nil {
t.Fatalf("should have error retrying funuction")
t.Fatalf("should have error retrying function")
}
}