From fd75f93d77f8bab2d45dccda078cb31073b1b0f2 Mon Sep 17 00:00:00 2001 From: Simon Aronsson Date: Thu, 4 Apr 2019 22:40:44 +0200 Subject: [PATCH] fix linting issues --- container/trust.go | 1 + notifications/smtp.go | 1 + 2 files changed, 2 insertions(+) diff --git a/container/trust.go b/container/trust.go index 8be1cdf..92ab696 100644 --- a/container/trust.go +++ b/container/trust.go @@ -67,6 +67,7 @@ func EncodedConfigAuth(ref string) (string, error) { return EncodeAuth(auth) } +// ParseServerAddress extracts the server part from a container image ref func ParseServerAddress(ref string) (string, error) { parsedRef, err := reference.Parse(ref) diff --git a/notifications/smtp.go b/notifications/smtp.go index d0f07f8..82954bc 100644 --- a/notifications/smtp.go +++ b/notifications/smtp.go @@ -1,3 +1,4 @@ +// Package notifications ... // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license.