Explorar o código

always update clusters/users after old usage cache stored

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
06246dcc03
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      internal/usage/usage.go

+ 0 - 2
internal/usage/usage.go

@@ -64,8 +64,6 @@ func GetUsage(opts *GetUsageOpts) (
 	if !isCacheFound {
 		usageCache = &models.ProjectUsageCache{
 			ProjectID: opts.Project.ID,
-			Clusters:  uint(len(clusters)),
-			Users:     uint(len(countedRoles)),
 		}
 	}