MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / getNamespace

Function getNamespace

commands/property.go:560–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

558}
559
560func getNamespace() string {
561 var namespaces, _, err = Client.Namespaces.List()
562 whisk.Debug(whisk.DbgError, "Client.Namespaces.List() failed: %s\n", err)
563 if err != nil {
564 return "_"
565 } else {
566 return namespaces[0].Name
567 }
568}

Callers 1

property.goFile · 0.85

Calls 1

ListMethod · 0.80

Tested by

no test coverage detected