|
|
@@ -8,14 +8,14 @@ import (
|
|
|
"sync"
|
|
|
"time"
|
|
|
|
|
|
+ "github.com/opencost/opencost/core/pkg/log"
|
|
|
+ "github.com/opencost/opencost/core/pkg/opencost"
|
|
|
+ "github.com/opencost/opencost/core/pkg/util"
|
|
|
+ "github.com/opencost/opencost/core/pkg/util/json"
|
|
|
"github.com/opencost/opencost/pkg/cloud/models"
|
|
|
"github.com/opencost/opencost/pkg/cloud/utils"
|
|
|
"github.com/opencost/opencost/pkg/clustercache"
|
|
|
"github.com/opencost/opencost/pkg/env"
|
|
|
- "github.com/opencost/opencost/pkg/kubecost"
|
|
|
- "github.com/opencost/opencost/pkg/log"
|
|
|
- "github.com/opencost/opencost/pkg/util"
|
|
|
- "github.com/opencost/opencost/pkg/util/json"
|
|
|
v1 "k8s.io/api/core/v1"
|
|
|
)
|
|
|
|
|
|
@@ -47,7 +47,7 @@ func (o *Oracle) ClusterInfo() (map[string]string, error) {
|
|
|
if clusterName := o.getClusterName(c); clusterName != "" {
|
|
|
m["name"] = clusterName
|
|
|
}
|
|
|
- m["provider"] = kubecost.OracleProvider
|
|
|
+ m["provider"] = opencost.OracleProvider
|
|
|
m["account"] = o.ClusterAccountID
|
|
|
m["region"] = o.ClusterRegion
|
|
|
m["remoteReadEnabled"] = strconv.FormatBool(env.IsRemoteEnabled())
|