formatted the code
This commit is contained in:
parent
4d13c432c4
commit
b7394b8762
2 changed files with 397 additions and 396 deletions
|
@ -36,6 +36,7 @@ func newClusterwideCapper() *clusterwideCapper {
|
||||||
|
|
||||||
// Singleton instance of clusterwideCapper
|
// Singleton instance of clusterwideCapper
|
||||||
var singleton_capper *clusterwideCapper
|
var singleton_capper *clusterwideCapper
|
||||||
|
|
||||||
// Retrieve the singleton instance of clusterwideCapper.
|
// Retrieve the singleton instance of clusterwideCapper.
|
||||||
func getClusterwideCapperInstance() *clusterwideCapper {
|
func getClusterwideCapperInstance() *clusterwideCapper {
|
||||||
if singleton_capper == nil {
|
if singleton_capper == nil {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package schedulers
|
package schedulers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/sunybingcloud/electron/def"
|
|
||||||
"bitbucket.org/sunybingcloud/electron/constants"
|
"bitbucket.org/sunybingcloud/electron/constants"
|
||||||
|
"bitbucket.org/sunybingcloud/electron/def"
|
||||||
"bitbucket.org/sunybingcloud/electron/rapl"
|
"bitbucket.org/sunybingcloud/electron/rapl"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
Reference in a new issue