From bde85d422c7949ec32fb067e9c36320ccc47fb9e Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Fri, 19 Jul 2019 05:42:41 +0200 Subject: Print info for users to stderr when socket files are missing Change-Id: Ibdbfcb78b05cf80945a93ed424a7a2a03b6ea06d Signed-off-by: Ondrej Fabry --- api/stats.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'api') diff --git a/api/stats.go b/api/stats.go index 0bf9908..e254eae 100644 --- a/api/stats.go +++ b/api/stats.go @@ -1,3 +1,17 @@ +// Copyright (c) 2019 Cisco and/or its affiliates. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at: +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package api // SystemStats represents global system statistics. -- cgit 1.2.3-korg