spelling: function
This commit is contained in:
parent
b545c6f87e
commit
24b4c36fc9
|
@ -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 ...")
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue