Fix redundant Sprintf

This commit is contained in:
DanHam 2018-05-24 21:05:03 +01:00
parent ec8b70721c
commit af7f7f2ce9
No known key found for this signature in database
GPG Key ID: 58E79AEDD6AA987E
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error {
c.SSHInterface != "public_dns" && c.SSHInterface != "public_dns" &&
c.SSHInterface != "private_dns" && c.SSHInterface != "private_dns" &&
c.SSHInterface != "" { c.SSHInterface != "" {
errs = append(errs, fmt.Errorf(fmt.Sprintf("Unknown interface type: %s", c.SSHInterface))) errs = append(errs, fmt.Errorf("Unknown interface type: %s", c.SSHInterface))
} }
if c.SSHKeyPairName != "" { if c.SSHKeyPairName != "" {