diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-07-19 05:42:41 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-07-19 05:42:41 +0200 |
commit | bde85d422c7949ec32fb067e9c36320ccc47fb9e (patch) | |
tree | 10203b958ed04f12da7556356b5dcf3f70571bc7 /api/stats.go | |
parent | 4dca07c803308611275f78b490ac0352c1052fe2 (diff) |
Print info for users to stderr when socket files are missing
Change-Id: Ibdbfcb78b05cf80945a93ed424a7a2a03b6ea06d
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'api/stats.go')
-rw-r--r-- | api/stats.go | 14 |
1 files changed, 14 insertions, 0 deletions
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. |