mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +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)
|
||||
}
|
||||
|
||||
// ParseServerAddress extracts the server part from a container image ref
|
||||
func ParseServerAddress(ref string) (string, error) {
|
||||
|
||||
parsedRef, err := reference.Parse(ref)
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue