• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / blob-csi-driver / 8424037822

25 Mar 2024 05:05PM UTC coverage: 74.275%. Remained the same
8424037822

Pull #1308

github

web-flow
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.0...v2.17.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #1308: chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1

2177 of 2931 relevant lines covered (74.27%)

7.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pkg/blobfuse-proxy/main.go
1
/*
2
Copyright 2021 The Kubernetes Authors.
3

4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7

8
    http://www.apache.org/licenses/LICENSE-2.0
9

10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16

17
package main
18

19
import (
20
        "flag"
21
        "net"
22
        "os"
23

24
        "k8s.io/klog/v2"
25

26
        "sigs.k8s.io/blob-csi-driver/pkg/blobfuse-proxy/server"
27
        csicommon "sigs.k8s.io/blob-csi-driver/pkg/csi-common"
28
)
29

30
var (
31
        blobfuseProxyEndpoint = flag.String("blobfuse-proxy-endpoint", "unix://tmp/blobfuse-proxy.sock", "blobfuse-proxy endpoint")
32
)
33

34
func main() {
×
35
        klog.InitFlags(nil)
×
36
        _ = flag.Set("logtostderr", "true")
×
37
        flag.Parse()
×
38
        proto, addr, err := csicommon.ParseEndpoint(*blobfuseProxyEndpoint)
×
39
        if err != nil {
×
40
                klog.Fatalf("failed to  parse endpoint %v", err.Error())
×
41
        }
×
42

43
        if proto == "unix" {
×
44
                addr = "/" + addr
×
45
                if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
×
46
                        klog.Fatalf("Failed to remove %s, error: %s", addr, err.Error())
×
47
                }
×
48
        }
49

50
        listener, err := net.Listen(proto, addr)
×
51
        if err != nil {
×
52
                klog.Fatal("cannot start server:", err)
×
53
        }
×
54

55
        mountServer := server.NewMountServiceServer()
×
56

×
57
        klog.V(2).Infof("Listening for connections on address: %v\n", listener.Addr())
×
58
        if err = server.RunGRPCServer(mountServer, false, listener); err != nil {
×
59
                klog.Fatalf("Error running grpc server %v. Error: %v", listener.Addr(), err)
×
60
        }
×
61
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc