You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// GetClusterPlan fetches the cluster plan & sets the Tier value
246
+
// SetClusterPlan fetches the cluster plan & sets the Tier value
241
247
funcSetClusterPlan() {
242
248
log.Printf("=> Getting cluster plan details")
243
249
clusterID:=os.Getenv("CLUSTER_ID")
@@ -247,7 +253,7 @@ func SetClusterPlan() {
247
253
}
248
254
_, err:=getClusterPlan(clusterID)
249
255
iferr!=nil {
250
-
log.Println("Unable to fetch the cluster plan. Please make sure that you're using a valid CLUSTER_ID.", err)
256
+
log.Fatalln("Unable to fetch the cluster plan. Please make sure that you're using a valid CLUSTER_ID. If the issue persists please contact support@appbase.io with your ARC_ID or registered e-mail address.", err)
251
257
return
252
258
}
253
259
}
@@ -333,7 +339,7 @@ func ReportUsage() {
333
339
334
340
result, err:=getArcInstance(arcID)
335
341
iferr!=nil {
336
-
log.Println("Unable to fetch the arc instance. Please make sure that you're using a valid ARC_ID.")
342
+
log.Fatalln("Unable to fetch the arc instance. Please make sure that you're using a valid ARC_ID. If the issue persists please contact support@appbase.io with your ARC_ID or registered e-mail address.")
337
343
return
338
344
}
339
345
@@ -383,7 +389,7 @@ func ReportHostedArcUsage() {
383
389
// getArcClusterInstance(clusterId)
384
390
result, err:=getArcClusterInstance(clusterID)
385
391
iferr!=nil {
386
-
log.Println("Unable to fetch the arc instance. Please make sure that you're using a valid CLUSTER_ID.", err)
392
+
log.Fatalln("Unable to fetch the arc instance. Please make sure that you're using a valid CLUSTER_ID. If the issue persists please contact support@appbase.io with your ARC_ID or registered e-mail address.", err)
0 commit comments