File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ def authorized!
3030
3131 def successfull_authorisation response
3232 Stackify ::EnvDetails . instance . update_auth_info JSON . parse ( response . body )
33- Stackify . internal_log :info , 'Authorisation is finished successfully.'
33+ Stackify . internal_log :info , 'Authorization is finished successfully.'
3434 end
3535
3636 def unsuccessfull_authorisation response , caller
37- Stackify . log_internal_error "Authorisation finally failed: #{ response_string ( response ) } "
37+ Stackify . log_internal_error "Authorization finally failed: #{ response_string ( response ) } "
3838 Stackify . shutdown_all caller unless @@authorized
3939 end
4040
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def auth_task attempts
2222 end
2323 }
2424 Stackify ::ScheduleTask . new properties do
25- Stackify . internal_log :debug , 'AthorizationClient: trying to athorize ...'
25+ Stackify . internal_log :debug , 'AthorizationClient: trying to authorize ...'
2626 send_request BASE_URI , Stackify ::EnvDetails . instance . auth_info . to_json
2727 end
2828 end
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ def initialize aggr_metric
3838
3939 def to_h
4040 {
41- 'Count' => @count ,
4241 'MetricType' => @metric_type ,
4342 'MetricID' => @metric_id ,
4443 'Name' => @name ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def monitor_info aggr_metric
77 if Stackify . authorized?
88 send_request GET_METRIC_INFO_URI , GetMetricRequest . new ( aggr_metric ) . to_h . to_json
99 else
10- Stackify . log_internal_error "Getting of monitor_info is failed because of authorisation failure"
10+ Stackify . log_internal_error "Getting of monitor_info is failed because of authorization failure"
1111 end
1212 end
1313
@@ -22,7 +22,7 @@ def upload_metrics aggr_metrics
2222 end
2323 send_request SUBMIT_METRIS_URI , records . to_json
2424 else
25- Stackify . log_internal_error "Uploading of metrics is failed because of authorisation failure"
25+ Stackify . log_internal_error "Uploading of metrics is failed because of authorization failure"
2626 end
2727 end
2828 end
You can’t perform that action at this time.
0 commit comments