Skip to content

Commit

Permalink
update error strings
Browse files Browse the repository at this point in the history
  • Loading branch information
chiradeep committed May 30, 2017
1 parent da96586 commit d9c90d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netscaler/resource_sslcertkey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func testAccCheckSslcertkeyExist(n string, id *string) resource.TestCheckFunc {
}

if rs.Primary.ID == "" {
return fmt.Errorf("No lb vserver name is set")
return fmt.Errorf("No ssl cert name is set")
}

if id != nil {
Expand All @@ -73,7 +73,7 @@ func testAccCheckSslcertkeyExist(n string, id *string) resource.TestCheckFunc {
}

if data == nil {
return fmt.Errorf("LB vserver %s not found", n)
return fmt.Errorf("SSL cert %s not found", n)
}

return nil
Expand All @@ -94,7 +94,7 @@ func testAccCheckSslcertkeyDestroy(s *terraform.State) error {

_, err := nsClient.FindResource(netscaler.Sslcertkey.Type(), rs.Primary.ID)
if err == nil {
return fmt.Errorf("LB vserver %s still exists", rs.Primary.ID)
return fmt.Errorf("SSL certkey %s still exists", rs.Primary.ID)
}

}
Expand Down

0 comments on commit d9c90d1

Please sign in to comment.