Skip to content

Commit

Permalink
Merge b7ab88d into ec6e1e2
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 committed Jun 7, 2020
2 parents ec6e1e2 + b7ab88d commit 021c828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/awssd/aws_sd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"errors"
"math/rand"
"reflect"
"strconv"
"testing"
"time"

Expand Down Expand Up @@ -51,7 +52,7 @@ type AWSSDClientStub struct {
func (s *AWSSDClientStub) CreateService(input *sd.CreateServiceInput) (*sd.CreateServiceOutput, error) {

srv := &sd.Service{
Id: aws.String(string(rand.Intn(10000))),
Id: aws.String(strconv.Itoa(rand.Intn(10000))),
DnsConfig: input.DnsConfig,
Name: input.Name,
Description: input.Description,
Expand Down

0 comments on commit 021c828

Please sign in to comment.