mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	build: don't call unset_platform_envs before building
This commit is contained in:
		@@ -219,8 +219,6 @@ kube::golang::set_platform_envs() {
 | 
				
			|||||||
  [[ -n ${1-} ]] || {
 | 
					  [[ -n ${1-} ]] || {
 | 
				
			||||||
    kube::log::error_exit "!!! Internal error. No platform set in kube::golang::set_platform_envs"
 | 
					    kube::log::error_exit "!!! Internal error. No platform set in kube::golang::set_platform_envs"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  # make sure we have a clean slate first
 | 
					 | 
				
			||||||
  kube::golang::unset_platform_envs
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  export GOOS=${platform%/*}
 | 
					  export GOOS=${platform%/*}
 | 
				
			||||||
  export GOARCH=${platform##*/}
 | 
					  export GOARCH=${platform##*/}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user