Skip to content

Commit 18d2be9

Browse files
author
Stanislav Volovik
committed
Misspells fixed
1 parent 678f4f3 commit 18d2be9

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

lib/stackify/authorization/authorizable.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

lib/stackify/authorization/authorization_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

lib/stackify/metrics/metric_aggregate.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

lib/stackify/metrics/metrics_sender.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)