File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -695,18 +695,12 @@ func (m *Model) GetConfig() *ackgenconfig.Config {
695695// APIGroup returns the normalized Kubernetes APIGroup for the AWS service API,
696696// e.g. "sns.services.k8s.aws"
697697func (m * Model ) APIGroup () string {
698- serviceID := m .serviceAlias
698+ serviceAlias := m .serviceAlias
699699 suffix := "services.k8s.aws"
700700 if m .SDKAPI .apiGroupSuffix != "" {
701701 suffix = m .SDKAPI .apiGroupSuffix
702702 }
703- return fmt .Sprintf ("%s.%s" , serviceID , suffix )
704- }
705-
706- // ServiceAliasClean returns a lowercased, whitespace-stripped ServiceID
707- func (m * Model ) ServiceAliasClean () string {
708- serviceID := strings .ToLower (m .serviceAlias )
709- return strings .Replace (serviceID , " " , "" , - 1 )
703+ return fmt .Sprintf ("%s.%s" , serviceAlias , suffix )
710704}
711705
712706// New returns a new Model struct for a supplied API model.
You can’t perform that action at this time.
0 commit comments