Explorar el Código

always update clusters/users after old usage cache stored

Alexander Belanger hace 4 años
padre
commit
06246dcc03
Se han modificado 1 ficheros con 0 adiciones y 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)),
 		}
 	}