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
247
247
funcSetClusterPlan() {
248
248
log.Printf("=> Getting cluster plan details")
249
249
clusterID:=os.Getenv("CLUSTER_ID")
@@ -253,7 +253,7 @@ func SetClusterPlan() {
253
253
}
254
254
_, err:=getClusterPlan(clusterID)
255
255
iferr!=nil {
256
-
log.Fatalln("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)
257
257
return
258
258
}
259
259
}
@@ -339,7 +339,7 @@ func ReportUsage() {
339
339
340
340
result, err:=getArcInstance(arcID)
341
341
iferr!=nil {
342
-
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.")
343
343
return
344
344
}
345
345
@@ -389,7 +389,7 @@ func ReportHostedArcUsage() {
389
389
// getArcClusterInstance(clusterId)
390
390
result, err:=getArcClusterInstance(clusterID)
391
391
iferr!=nil {
392
-
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