github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/provider/common.go (about)

     1  package provider
     2  
     3  func updateString(toUpdate *string, value *string) {
     4  	if value != nil {
     5  		*toUpdate = *value
     6  	}
     7  }
     8  
     9  func updateSlice(toUpdate *[]string, value []string) {
    10  	if value != nil {
    11  		*toUpdate = value
    12  	}
    13  }