You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by as...@apache.org on 2019/06/27 11:53:16 UTC
[servicecomb-kie] 05/29: fix based on comments
This is an automated email from the ASF dual-hosted git repository.
asifdxtreme pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-kie.git
commit 65b7c24d6ae13148b2dc463460d2aaa8bdedff32
Author: tian <xi...@gmail.com>
AuthorDate: Tue May 7 20:16:45 2019 +0800
fix based on comments
---
deployments/docker/docker-compose.yaml | 16 ++++++++++++++++
pkg/model/kv.go | 8 --------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/deployments/docker/docker-compose.yaml b/deployments/docker/docker-compose.yaml
index 2c87590..700fa28 100644
--- a/deployments/docker/docker-compose.yaml
+++ b/deployments/docker/docker-compose.yaml
@@ -1,3 +1,19 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You 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.
+## ---------------------------------------------------------------------------
version: '3.1'
services:
mongo:
diff --git a/pkg/model/kv.go b/pkg/model/kv.go
index 1c31fc0..042cd20 100644
--- a/pkg/model/kv.go
+++ b/pkg/model/kv.go
@@ -23,14 +23,6 @@ import (
type Labels map[string]string
-//func (m Labels) ToString() string {
-// sb := strings.Builder{}
-// for k, v := range m {
-// sb.WriteString(k + "=" + v + ",")
-// }
-// return sb.String()
-//}
-
type KV struct {
ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
Key string `json:"key"`