Showing 3 of 44 total issues
Function init
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init() {
if (this.events.length == 0) {
this.subcriptions.push(
this.handler.AllObservable.subscribe((x) => this.post(x))
);
Function start
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start() {
const req = request({
method: 'GET',
url: 'http://unix:/var/run/docker.sock:/v1.37/events',
json: true,
Function feed
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
feed(data) {
this.AllSubject.onNext(data);
switch (data['Type']) {
case DockerTypes.VOLUME: {