Skip to content

Commit

Permalink
fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiying-lin committed Dec 23, 2024
1 parent 31cf2d9 commit 3b543fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/common/trafficmanager/fakeprovider/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package fakeprovider
import (
"context"
"fmt"
"go.goms.io/fleet-networking/pkg/controllers/hub/trafficmanagerprofile"
"net/http"
"strings"

Expand Down Expand Up @@ -91,7 +92,7 @@ func ProfileGet(_ context.Context, resourceGroupName string, profileName string,
DNSConfig: &armtrafficmanager.DNSConfig{
Fqdn: ptr.To(fmt.Sprintf(ProfileDNSNameFormat, profileName)),
RelativeName: ptr.To(profileName),
TTL: ptr.To[int64](30),
TTL: ptr.To(trafficmanagerprofile.DefaultDNSTTL),
},
Endpoints: []*armtrafficmanager.Endpoint{},
MonitorConfig: &armtrafficmanager.MonitorConfig{
Expand Down

0 comments on commit 3b543fa

Please sign in to comment.