Skip to content

Commit

Permalink
Merge pull request #756 from ChobobDev/enhancement/747
Browse files Browse the repository at this point in the history
[#747] Format files with gofmt
  • Loading branch information
seokho-son authored Sep 17, 2021
2 parents 01461d7 + dec03a4 commit c0f9e1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/core/common/utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

// MCIS utilities

// SimpleMsg is struct for JSON Simple message
// SimpleMsg is struct for JSON Simple message
type SimpleMsg struct {
Message string `json:"message" example:"Any message"`
}
Expand Down Expand Up @@ -74,7 +74,7 @@ func GenMcisKey(nsId string, mcisId string, vmId string) string {

}

// GenMcisVmGroupKey is func to generate a key from vmGroupId used in keyValue store
// GenMcisVmGroupKey is func to generate a key from vmGroupId used in keyValue store
func GenMcisVmGroupKey(nsId string, mcisId string, groupId string) string {

return "/ns/" + nsId + "/mcis/" + mcisId + "/vmgroup/" + groupId
Expand Down Expand Up @@ -360,7 +360,6 @@ func GetConnConfigList() (ConnConfigList, error) {
}
}


// Region is struct for containing region struct of CB-Spider
type Region struct {
RegionName string // ex) "region01"
Expand Down
2 changes: 1 addition & 1 deletion src/core/mcis/orchestration.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
const (
// AutoActionScaleOut is const for "ScaleOut" action.
AutoActionScaleOut string = "ScaleOut"

// AutoActionScaleIn is const for "ScaleIn" action.
AutoActionScaleIn string = "ScaleIn"
)
Expand Down

0 comments on commit c0f9e1f

Please sign in to comment.