Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Oct 29, 2024
1 parent b32482d commit 6154d26
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/agent/datamodel/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1186,13 +1186,6 @@ func (a *AgentPoolProfile) IsAvailabilitySets() bool {
return strings.EqualFold(a.AvailabilityProfile, AvailabilitySet)
}

func truncateString(str string, length int) string {
if len(str) > length {
return str[:length]
}
return str
}

// GetKubernetesLabels returns a k8s API-compliant labels string for nodes in this profile.
func (a *AgentPoolProfile) GetKubernetesLabels() string {
var buf bytes.Buffer
Expand Down

0 comments on commit 6154d26

Please sign in to comment.