Skip to content

Commit 70b9ad0

Browse files
committed
Fixes in create connector view
1 parent 3af37c0 commit 70b9ad0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/kafka-connect/create-connector/create-connector.controller.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ angularAPP.controller('CreateConnectorCtrl', function ($scope, $rootScope, $http
7070
//console.log(flatValuesArray);
7171
// var classname = $scope.connector.class;
7272
var classname = flatValuesArray.find(function (p) {
73-
console.log(p.indexOf("connector.class"));
73+
//console.log(p.indexOf("connector.class"));
7474
return (p.indexOf("connector.class=") == 0)
7575
}).split('connector.class=').join('');
7676
//console.log("classname is -> " + classname);
@@ -86,10 +86,6 @@ angularAPP.controller('CreateConnectorCtrl', function ($scope, $rootScope, $http
8686
if(errorConfigs == 0) {
8787
$scope.validConfig = constants.VIEW_MESSAGE_CONNECTOR_VALID;
8888
$scope.curlCommand = NewConnectorFactory.getCurlCommand(flatValuesArray);
89-
deferred.resolve(constants.VIEW_MESSAGE_CONNECTOR_VALID);
90-
} else {
91-
$scope.validConfig='';
92-
deferred.reject(errorConfigs);
9389
}
9490
$scope.errorConfigs = errorConfigs;
9591

0 commit comments

Comments
 (0)