Skip to content

Commit f67c744

Browse files
committed
!== for codacy
1 parent 924bd86 commit f67c744

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • services/retrieve_and_rank

services/retrieve_and_rank/v1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ module.exports = function (RED) {
158158
//Cluster name can be passed into msg.payload, but the cluster name
159159
//specified in the config takes priority
160160
var clustername;
161-
(config.clustername != '') ? clustername = config.clustername : clustername = msg.payload;
161+
(config.clustername !== '') ? clustername = config.clustername : clustername = msg.payload;
162162
var params = {
163163
cluster_name: clustername,
164164
cluster_size: config.clustersize !== 'free' ? config.clustersize : null,

0 commit comments

Comments
 (0)