mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 15:38:52 +02:00
Go fmt run.
This commit is contained in:
committed by
Oleksii Kliukin
parent
51d73fb172
commit
17826ee434
+2
-2
@@ -63,10 +63,10 @@ func specPatch(spec interface{}) ([]byte, error) {
|
||||
}{spec})
|
||||
}
|
||||
|
||||
func metadataAnnotationsPatch(annotations map[string]string) (string) {
|
||||
func metadataAnnotationsPatch(annotations map[string]string) string {
|
||||
annotationsList := make([]string, 0, len(annotations))
|
||||
|
||||
for name, value := range(annotations) {
|
||||
for name, value := range annotations {
|
||||
annotationsList = append(annotationsList, fmt.Sprintf(`"%s":"%s"`, name, value))
|
||||
}
|
||||
annotationsString := strings.Join(annotationsList, ",")
|
||||
|
||||
Reference in New Issue
Block a user