fix linting issues

This commit is contained in:
Simon Aronsson 2019-04-04 22:40:44 +02:00
parent 21ac58fc33
commit fd75f93d77
2 changed files with 2 additions and 0 deletions

View file

@ -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)

View file

@ -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.