Skip to content

Commit 6bb258b

Browse files
committed
fix: remove subscription id
1 parent 17cf6a8 commit 6bb258b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

util/billing.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,11 @@ func getArcInstance(arcID string) (ArcInstance, error) {
9898
}
9999
defer res.Body.Close()
100100
body, err := ioutil.ReadAll(res.Body)
101-
fmt.Println("bODY:", body)
102101
if err != nil {
103102
log.Println("error reading res body: ", err)
104103
return arcInstance, err
105104
}
106105
err = json.Unmarshal(body, &response)
107-
fmt.Println("RESPONSE:", response)
108106
arcInstance.SubscriptionID = response.ArcRecords[0].SubscriptionID
109107

110108
if err != nil {
@@ -160,7 +158,6 @@ func ReportUsage() {
160158
if err != nil {
161159
log.Println("Unable to fetch arc instance")
162160
}
163-
fmt.Println("THIS IS RESULT", result)
164161

165162
subID := result.SubscriptionID
166163
if subID == "" {

0 commit comments

Comments
 (0)