mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
(cloudwatch) fix cloudwatch query error over 24h (#9536)
fix cloudwatch query error over 24h
This commit is contained in:
committed by
Carl Bergquist
parent
2d840f12e0
commit
7edc95cc35
@@ -37,7 +37,7 @@ describe('CloudWatchDatasource', function() {
|
||||
InstanceId: 'i-12345678'
|
||||
},
|
||||
statistics: ['Average'],
|
||||
period: 300
|
||||
period: '300'
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -109,7 +109,7 @@ describe('CloudWatchDatasource', function() {
|
||||
|
||||
ctx.ds.query(query).then(function() {
|
||||
var params = requestParams.queries[0];
|
||||
expect(params.period).to.be(600);
|
||||
expect(params.period).to.be('600');
|
||||
done();
|
||||
});
|
||||
ctx.$rootScope.$apply();
|
||||
|
||||
Reference in New Issue
Block a user