Fix format errors

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2019-07-25 16:38:07 +01:00
parent 406e6ad291
commit ad686fbe58
3 changed files with 18 additions and 2 deletions

View File

@ -2,7 +2,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["nameserver.go.go"],
srcs = ["nameserver.go"],
importpath = "github.com/jetstack/cert-manager/pkg/apis/certmanager/validation/util",
visibility = ["//visibility:public"],
)

View File

@ -1,3 +1,19 @@
/*
Copyright 2019 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package util
import (

View File

@ -137,6 +137,6 @@ func (c *CA) Sign(ctx context.Context, cr *v1alpha1.CertificateRequest) (*issuer
return &issuerpkg.IssueResponse{
Certificate: certPEM,
CA: caPEM,
CA: caPEM,
}, nil
}