forked from toolshed/abra
refactor: less quotes
This commit is contained in:
@ -55,7 +55,7 @@ func New(contextName string) (*client.Client, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
logrus.Debugf("created client for '%s'", contextName)
|
||||
logrus.Debugf("created client for %s", contextName)
|
||||
|
||||
return cl, nil
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ func CreateContext(contextName string, user string, port string) error {
|
||||
if err := createContext(contextName, host); err != nil {
|
||||
return err
|
||||
}
|
||||
logrus.Debugf("created the '%s' context", contextName)
|
||||
logrus.Debugf("created the %s context", contextName)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ func GetTagDigest(cl *client.Client, image reference.Named) (string, error) {
|
||||
}
|
||||
|
||||
if digest == "" {
|
||||
return "", fmt.Errorf("Unable to retrieve amd64 digest for '%s'", image)
|
||||
return "", fmt.Errorf("Unable to retrieve amd64 digest for %s", image)
|
||||
}
|
||||
|
||||
return digest, nil
|
||||
|
Reference in New Issue
Block a user