mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-17 07:30:13 +01:00
fix linting issues
This commit is contained in:
parent
21ac58fc33
commit
fd75f93d77
2 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ func EncodedConfigAuth(ref string) (string, error) {
|
||||||
return EncodeAuth(auth)
|
return EncodeAuth(auth)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ParseServerAddress extracts the server part from a container image ref
|
||||||
func ParseServerAddress(ref string) (string, error) {
|
func ParseServerAddress(ref string) (string, error) {
|
||||||
|
|
||||||
parsedRef, err := reference.Parse(ref)
|
parsedRef, err := reference.Parse(ref)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Package notifications ...
|
||||||
// Copyright 2010 The Go Authors. All rights reserved.
|
// Copyright 2010 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license.
|
// license.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue