Skip to content

Commit

Permalink
vpcagent: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yousong committed May 26, 2020
1 parent 230f004 commit 8873c89
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions pkg/vpcagent/models/modelsets.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,11 @@
package models

import (
"strings"
"time"

"yunion.io/x/onecloud/pkg/vpcagent/apihelper"
)

// pluralMap maps from KeyPlurals to underscore-separated field names
var pluralMap = map[string]string{}

func init() {
// XXX drop this
ss := []string{
"vpcs",
"networks",
"guestnetworks",
}
for _, s := range ss {
k := strings.Replace(s, "_", "", -1)
pluralMap[k] = s
}
}

type ModelSetsMaxUpdatedAt struct {
Vpcs time.Time
Wires time.Time
Expand Down

0 comments on commit 8873c89

Please sign in to comment.